I have a project that compiled fine with Xcode 4.4 but since upgrading to 4.5 it will not compile under any iOS version other than 6.0.
I am attempting to compile under 2.1.2GA and OS SDK 5.1
I select these in the Publish Ad Hoc distribution but the app does not compile. If I look back as the output it shows the following:
[INFO] Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777) [INFO] iPhone Device family: universal [INFO] iPhone SDK version: 6.0 [INFO] Performing full rebuild. This will take a little bit. Hold tight...no matter which SDK I select Titanium seems to always try and compile with 6.0
And if I select 2.1.3 it will compile.
Is this something I am doing wrong or is there a problem using any other iOS SDK now I have upgraded to XCode 4.5 (i.e. can I no longer compile a project with anything else that iOS 6.0?)
I guess the really required iOS SDK for what you're trying is missing, especially for actual iOS devices and that is not originally included in Xcode 4.5 installation.
Could you check your Mac for if there is another SDK other than iOS6?
The directories are like below. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
If there is the proper SDK in those directories, you'll see something like: iPhoneOS5.1.sdk, while checking the iPhoneSimulator SDK, you'll probably see 5.1 SDK in it.
A resolution could be copying same SDKs you used to previously use from a Xcode installation, .dmg file. (Though I don't think this idea is the best solution.)
Hope it helps you.
Think you can help? Login to answer this question!