简体   繁体   中英

Testing app on iphone that has greater ios version than xcode's sdk

I am new to iOS Development, and I have a good old macbook that has Mac OS X 10.6.8 - snow leopard. My Xcode version is 3.2 and iOS 4.3 SDK works perfectly on it. However I have an iPhone 4 runs on iOS 6 , and I want to test my app on it. In the project settings I choose iOS 4.3 as base sdk.

Is it possible to test on a device that runs on newer SDK than developed SDK like we have in android? or Should I upgrade my system to Mountain Lion and install iOS 6 SDK ?

Edit: I've already enrolled to developer program

Yes you can test your application on xcode 3.2

Just prepare build, drag your application to iTunes (create .ipa file)-> Sync with your device.

But you cannot debug your application.

Also, as every apps need to have iPhone 5 compatibility, I would suggest you to upgrade your mac to latest Mountain Lion, as it will just cost you 20$ only. In that you can code special for iOS 6 like orientation methods of iOS 5 are no more continued in iOS 6, so its better you update your system.

Hope this info helps you..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM