Ios – iPhone with iOS 5.1 not detected with XCode 4.2

iosios5iphoneobjective cxcode

My XCode 4.2 does not detect iPhone with iOS 5.1.
I have MAC OS X 10.6.7 installed, with XCode 4.2 and iPhone with 5.1

If I build app for iOS 5.0 it works, but not 5.1.

I want to submit my app to appstore today, will it be accepted?

And How do I run app on 5.1 devices?

Please help

Following are my device config:

Developer Information:

Version: 4.2 (4C199)
Location: /Developer
Applications:
Xcode: 4.2 (828)
Instruments: 4.2 (4233)
Dashcode: 3.0.2 (336)
SDKs:
Mac OS X:
10.6: (10K549)
iPhone OS:
5.0: (9A334)
iPhone Simulator:
3.2: (7W367a)
4.0: (8A400)
4.1: (8B117)
4.2: (8C134)
4.3: (8F192)
5.0: (9A334)

Best Answer

According to the developer center Xcode 4.3.1 supports iOS 5.1. The last release of Xcode for OS 10.6 is Xcode 4.2 which supports iOS 5 (this is the release you have).

You need to upgrade to Mac OS 10.7 and Xcode 4.3 to get support for iOS 5.1. You can continue to use the 5.0 SDK and build against that as long as you don’t need features in iOS 5.1.

I assume that your phone will continue to not be recognized by Xcode until you upgrade your SDK/Xcode to 5.1.

Related Topic