开发者

iOS 5: Upgrade iPad2 but now Xcode4 isn't happy

开发者 https://www.devze.com 2023-04-04 08:05 出处:网络
I upgrade my iPad2 to iOS 5, hoping that I could continue developing with iOS 4 as my target. So then I upgraded to Xcode 4.3 & iOS 5 SDK, but the iOS 4 target disappeared. Therefore I downgraded

I upgrade my iPad2 to iOS 5, hoping that I could continue developing with iOS 4 as my target.

So then I upgraded to Xcode 4.3 & iOS 5 SDK, but the iOS 4 target disappeared. Therefore I downgraded back to iOS 3 then upgraded again to 4.1.

Presently I get this message:

The version of iOS on “iPad” does not match 
any of the versions of iOS supported for development 
with this installation of the iOS SDK. 

Is there a way to set up Xcod开发者_开发问答e to compile for both iOS 4 and iOS 5, if I wish?

Thanks.


I think that the solution is to use two different installs of Xcode, one for each target SDK. Have you tried using the iOS 5 SDK but setting the "Deployment Target" to iOS 4?

0

精彩评论

暂无评论...
验证码 换一张
取 消