I installed iOS 7 yesterday to test in my iPhone 5. The problem is that I can't deploy now any test applications from Xcode to my iPhone as it says it has an unsupported version. I can't (or don't want to) downgrade from iOS 7 to 6 and don't want (can't) upgrade Xcode to version 5 as submitting is not supported with Xcode 5 Beta.
So how do I deploy apps from Xcode 4.6.2 to iOS 7 Beta?
Well I don't know If this is of any help to anyone but me. But I have been able to use Xcode 4.6.2 to deploy to my iPhone 5 running iOS 7. I think it is due to a bug in the system but it doesn't matter to me. It works OK. Now to do this, I do as follows:
Make sure you have the latest version of Xcode from the App Store. (I don't know why, but why not?)
Download and Install Xcode 5.
Close all instances of Xcode running in your system (4.6.2 and 5)
Run Xcode 5. you will see it recognizes your device, you probably have to activate it as use it for development again.
Run Xcode 4.6.2 simultaneously. You will see it recognizes your iPhone as in: make it valid target for development.
close or do whatever you want with Xcode 5. From this point onwards You can keep using Xcode 4.6.2
I haven't turned my computer off or restarted it in a long time so I don't know if this is a fluke or what. But other people I work with have been able to do the same, so I expect it to work for you.
EDIT:
Better yet. Something I have found useful is building from Xcode 4.6.x to an iOS 7 device, actually makes the phone run it in iOS6 or before Mode which is the way all apps run at the moment. So my guess is that this would be what your app would look like in iOS 7 if deployed from the app store. Assuming you are targeting iOS 4+
Similarly, if you build the same app using Xcode 5, it tries to incorporate some iOS 7 appearance proxies by default and certainly the UI behaves differently. Granted I haven't played with Xcode 5 much, there is probably a toggle somewhere to turn this compatibility mode on and off.
I was unable to upgrade MacOS from 10.7.5 to 10.8.x and that is why I could not install Xcode5 on my MAC. I downloaded Xcode5 but due to incompatibility it can not be installed.
I was able to run app using XCode 4.6 in debug mode on an iPhone 4 with iOS 7 (and can't express enough how happy i got after that)
Steps:
Now when you open Xcode4.6 your project Base SDK should be 7.0 and if your device is not detected yet, disconnect and reconnect your device so that it starts "getting symbol files from iPhoneXYZ"
Hope this helps someone.
One more important thing, in your scheme Debugger should be set to "LLDB"
You can't. But you can have multiple version of xcode installed 4.6.x and 5.0.
once installed the 5.0 you can do something like this :
sudo xcode-select -switch /Applications/Xcode5.0.app
you can obviously switch back to the 4.6.x doing the same
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With