2
votes

I've installed Xcode 4.6 beta (which includes iOS 6.1 beta SDK) but do not wish to install iOS 6.1 on my (development) iPhone quite yet. What I'd rather do is continue developing with iOS 6.0.2 (or use the iPhone simulator instead).

Hence I've tried to download and install iOS 6.0.2 into XCode 4.6: indeed in its Organizer window both iOS 6.1 (by default) and iOS 6.0.2 (by this action) now do show up. However when I try to change the base SDK for my project (under its Build Settings) Xcode still seems unaware of the second choice: The only iOS-related choices available are iOS 6.1 and Latest iOS (i.e. again iOS 6.1).

How do I add (the installed) iOS 6.0.2 SDK to that list so I can select it as base SDK for my project?

P.S. My current understanding that this is different from that other (frequent) question.

P.S.S. Presumably nothing of this is specific to Xcode 4.6 as opposed earlier versions. Therefore I feel authorized to mention it even outside the confidentiality agreement, for its existence as such is clearly publicly known.

1
If you want a Base SDK of 6.0 instead of 6.1, use Xcode 4.5, not 4.6. Why use a beta version of Xcode if you are not using the corresponding beta iOS SDK?rmaddy
Isn't Xcode 4.6 still under NDA? If so discuss this on devforums.apple.comtrojanfoe
@rmaddy Because another development iPhone (which I do not use right now) has iOS 6.1 beta installed, hence I upgraded to Xcode 4.6 beta as well. I do not want to downgrade/reinstall XCode 4.5 (and it should not be necessary).Drux
@trajanfoe My P.S. mentions why I think it's permissible to mention Xcode 4.6 here. My question applies more generally to use of XCode n (which comes with iOS m) together with iOS (m - 1). I'm only mentioning specific version numbers in order to make the problem sound concrete (which it is).Drux
You need to have both versions of Xcode installed. Use each where appropriate.rmaddy

1 Answers

1
votes

Try to set target to lower version !

Set target