I'm trying to test my iOS app on iOS sdk 15.6 but the current full version of Xcode only lists sdk 15.5 and lower. I submitted my application to apple store and it was declined with the implications that it freezes on launch and it was tested on iPad iOS sdk 15.6. I am using the latest available public Xcode and it does not have the sdk 15.6. I downloaded Xcode 16 beta version but I did not get the error implied. Now I would like to add the sdk to my Xcode because I don't have any physical device for now. Im requesting on how to add sdk iOS 15.6 to my Xcode 13.4.1.
In case is useful for someone, after downloading xcode14 Beta open the app and you will see the xcode icon in the dock. Right button and from device option you will be able to choose IOS 16.0
Related
I have ios5 installed on my iPhone device, I am developing an application in xcode using SDK IOS 4.3 I got the error:
The version of iOS on "John's iPhoneā€¯ does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
I dont want to do either of them, because I have other ongoing projects since months which I started with using IOS 4.3. So if I download IOS 5 SDK is that possible that I will mess things up with previous projects? And do I have to download all xcode 4.2 again for IOS 5?! and after all.."what the heck is going around?"
The error message is pretty clear about what your options are...
I suggest you upgrade to Xcode 4.2 and the iOS 5 SDK. That still allows you to write apps for iOS 4.x, but you get a better version of Xcode and a better compiler (LLVM 3.0) and the ability to develop on your iOS 5 device.
XCode 4.2/iOS 5 SDK has broken some frameworks that I depend on to support external MIDI hardware accessories in my app. My app that I built with 4.0.2 works fine on my iPhone 4 running iOS 5 when installed from the store, so I uninstalled XCode 4.2 and downgraded to XCode 4.0.2. But now I can't build to my iOS 5 devices -- the Organizer says the version is unsupported. Is there some way to trick XCode 4.0.2 or 4.1 into building onto a device running 5.0?
Use Xcode 4.2 and make sure that the iOS4 SDK is installed, then set the "Base SDK" build property to that version. I'm pretty sure that building iOS5 apps with Xcode 4.1/4.0 is going to be a world of pain.
I discovered that you can compile and debug on iOS 5 devices even using XCode 3.2. You won't have iOS 5 simulator though. <-- doesn't work with iPhone 4S
I'm using xCode 3.2.3 with 4.0 iOS SDK, but my iTouch has iOS 4.2 installed.
I could deploy and run Release version app on my iTouch, but when I try to debug app on device, the app is always running with nothing but black screen, without any response.
The problem is:
How to debug iOS app build with 4.0 SDK on device installed iOS 4.2?
If you go to Xcode's organizer you'll see that your device is actually not allowed to run the debug mode (with a development provision file), since your SDK version is lower than your device's OS. Apple just doesn't allow that to happen.
I assume that you want to keep your old SDK is because you want to check the compatibility with older OS. I would suggest you upgrade your Xcode and its SDK to the latest version (3.2.5/4.2.1) while testing your app on old and new OS devices.
Try installing the latest iOS SDK to another folder (mine is at /DeveloperBeta). That way you could continue developing and debugging using the new SDK, while still having the old SDK around to build for app submission.
I have previously downloaded xcode 3.2.5 and I see i have iphone sdk 4.2
i uploaded my app to appstore and they told me back it crashes on sdk 4.2.1
however I could not find yet a way to test it on 4.2.1 on my mac with xcode... i saw on apple site either 3.2.5 with sdk 4.2 or sdk 4.3beta how can I test then with my mac on sdk 4.2.1 please?
thanks
iOS SDK 4.2 covers 4.2.1. So you're already testing it for 4.2.1 as well as you can on your Mac. The only real way to fully test your app with "iOS 4.2.1" is on a real device.
If you read the support page for iOS 4.2 (http://support.apple.com/kb/DL1061) it seems iOS 4.2 and 4.2.1 are essentially the same, as at the bottom of the page it states:
Note: iOS 4.2.1 is the version number
displayed in the iOS user interface
and iTunes.
I installed the iOS 4 SDK yesterday. I previously had the 3.1.2, 3.1.3 and 3.2 SDKs installed. Since installing the iOS 4 SDK, I only have 3.2 and 4.0 available in Xcode. When I load an Xcode project that was targeting an older version (say 3.1.2), it says "Base SDK Missing" in the toolbar.
I've been able to reset the project to target iOS 4 instead - and have successfully built. However, I need to do some ad hoc builds for users who may not have iOS 4 installed on their devices yet. If I give them a build that was done for iOS 4 (not using any iOS 4 features - it's the same code I used to build with 3.1.2), will this execute on their device ok?
Unfortunately I don't have any non-upgraded devices to test this on myself!
Thanks,
John
To target older iPhone OS's with the new iOS 4 SDK, Select your XCode project -> Get Info, and then select "iPhone Device 4.0" as the Base SDK, and then select the lowest iPhone OS version from iPhone OS Deployment Target that you need to support with your ad hoc app.
You needed to install XCode beta to an alternative folder /DeveloperBeta (for example) and use the stable xcode for older SDK builds.
You can still do that actually.