As I know, snow leopard can not do this.
I hope to know if my mac osx is 10.8, which xcode version can to build a target works on ios 4 5 6?
Or I need to downgrade to lion?
Welcome any comment
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ah, lost 2 days of my life trying to solve this problem for a framework I built: there is NO single version of Xcode that supports all 3 of the armv6, armv7 and armv7s architectures, so effectively, there is no way to do what you want.
With Xcode 4.5 you can build a target that works on iOS 4.3 and higher (including 5 and 6) by supporting the armv7 and armv7s architectures.
With Xcode 4.4.1 you can build a target that works on iOS 4.0 up to iOS 5.1 (not iOS 6.0) by supporting the armv6 and armv7 architectures.
It might be possible if you have both installed to script the building of an armv6 target with Xcode 4.4.1, then an armv7/armv7s target with Xcode 4.5 and then merge them using lipo but that seems like it would be quite difficult.