Xcode doesn't let me choose "Device". I only deploy to simulator, to iPad 3.2. Organizer tells me: "XCode cannot find the software i开发者_运维知识库mage to install this version" when I connect an iPhone 3.1.3 firmware.
I have Xcode 3.2.5 with iOS 4.2. What can I do to solve this?
Problem is XCode has no idea about version of iOS that you have running on your device. You need to do following:
- In Organizer see what exact version of iOS is on your device (say it's '3.1.3 ABC')
- Open terminal and go to
/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
- There you will see list of OS images that XCode has. You need to pick on that is 'closer' to one that you have on the device (say you have directory there called 3.1) and create a symbolic link like:
ln -s 3.1 3.1.3\ ABC
. - This way you fool XCode to think that it knows exact version of your device.
You need to upgrade your phone to 4.2, because you can only deploy to iphone versions where you have the sdk from.
精彩评论