简体   繁体   中英

Xcode can't detect iPhone device with iOS 5.1

I have updated my iPhone firmware to 5.1. I notice now that Xcode 4.2 doesn't recognize the device. Do I need to upgrade Xcode or something?

xcode 4.3 is able to run app on devices running iOS 5.1

You need to upgrade you current version..(Note :Xcode 4.3 and above are only available for Mac OSX Lion)

Yes. Xcode 4.2 and the version of the SDK bundled with it do not support the latest version of iOS. Upgrade to Xcode 4.3.1. To do this, you will need to upgrade to OS X 10.7 Lion if you have not already done so.

If you can't upgrade to Xcode 4.3 for some reason, such as running Snow Leopard, you can make Xcode 4.2 work with 5.1 devices. See my answer here .

In addition to Shubhank's answer (and everyone else), remember that Apple's app store is where the download is. So it will magically put itself somewhere (the Developer dir) without overwriting Xcode.

You have to find it and replace your shortcuts to launch 4.3 instead of 4.2. There aren't any hints, or "open extracted folder" or anything. In case you wonder why you open Xcode and it still doesn't find it. You go into the App Store and notice it says "Installed", but never is there a link to figure out where, so you have to dig and hope, comparing creation times in the files.

(After you do this, it will offer to remove 4.2)

If anyone had a smoother time, please post how!

I think you have to update your XCode Version.

Xcode 4.3.1 has been launched with the new iOS 5.1.

You can find how to download it there :

Apple Developer Website (iOS & XCode)

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