tcurdt / iProxy

Let's you connect your laptop to the iPhone to surf the web.
http://github.com/tcurdt/iProxy
Apache License 2.0
1.21k stars 204 forks source link

iProxy crashes on launch on Xcode 13.1 for iOS 15 #34

Closed mozeryansky closed 3 years ago

mozeryansky commented 3 years ago

The project is working fine but I needed to do just a couple things to get it to work on the latest xcode/iOS versions, so I wanted to file a ticket for the next person.

I allowed Xcode to auto update the project, but I needed to delete the manual provisioning profiles.

In AppDelete.m change [window addSubview:statusViewController.view]; to [window setRootViewController:statusViewController]; as it would crash complaining about no root view controller.

Everything else was fine and I was able to proxy from my mac to my phone.

tcurdt commented 3 years ago

I am surprised this is all that is needed. Want to create a PR?

mozeryansky commented 3 years ago

@tcurdt There were a few other xcode project related changes, but the only code change was setRootViewController. I submitted a PR with all the changes needed to compile right from a clone. Thanks for the work!