xcode cannot find the software image to install this version

后端 未结 5 1750
误落风尘
误落风尘 2020-12-15 22:58

I\'m new to xCode development and struggling my way through the provisioning system trying to run a Hello World app on a real device. I went through al steps and everything

相关标签:
5条回答
  • 2020-12-15 23:07

    just an update, to update the iOS deployment target, click your project in the left pane, the one with the blue 'A' icon. click the build settings tab (not info), instead of showing "basic," show "all." iOS deployment target is in the deployment section.

    0 讨论(0)
  • 2020-12-15 23:19

    Xcode 4.2 only builds armv7 targets by default. (Iphone 3G running IOS 4.2.1 is armv6) Add armv6 build targets by following these excellent instructions from Nick "Warning: iPhone apps should include an armv6 architecture" even with build config set

    0 讨论(0)
  • 2020-12-15 23:21

    I think Xcode 4 requires that you are running the latest iOS to use that feature, but you don't need it to install apps on a device. I have run my apps on an iPod Touch 1G (which can't be upgraded to iOS 4.3) with the same iOS as you and it worked.

    Have you added your device to the provisioning profile?

    What I did is opened the organizer, right click on the device on the left pane and select "Add device to provisioning profile" where you will be asked for your Apple ID (within xcode) and it will add the device to your profile without you leaving xcode, much simpler than using the online portal.

    0 讨论(0)
  • 2020-12-15 23:22

    There could be a number of things, but i would make sure that that your deployment taget in build settings is at or below your target . Check the "deployment section" in the build settings of your project. The default sets the deployment to the highest iOS version, if the ios version is below what is set you will not be able to run the app on that device.

    0 讨论(0)
  • 2020-12-15 23:24

    The message "xcode cannot find the software image to install this version" seen in the organiser window... This is just a notification rather than a problematic error.

    If you want to eliminate this message anyway, I found I was able to do this by running restore within iTunes. Part of that process involves downloading some stuff, which I presume is the 'software image'.

    But, as explained in Technical Q&A QA1569 "This message does not prevent you from using the device for development purposes. The only effect is the inability to reinstall the OS currently on the device using Xcode." ...and that has been my experience. Back in the main Xcode window you're still able to click 'run' and send the app to the device to run.

    ...and it will run assuming everything else is set-up OK, but there are various other gotchas related to Xcode 4.2 and v4 devices:

    • As mentioned by Overbeeke you should ensure the 'deployment target' of your project is set down to the desired version (the minimum version of the devices you want to support) Additionally I would point out that the 'SDK version' should normally remain set to the latest (it's whatever SDK Xcode on your machine is using)

    • As mentioned by Kenneth Lam, in the new Xcode you need to frig around with "armv6/armv7" settings if you want to support earlier models of iPhone. Follow these instructions to add the right "Architecture" armv6 setting. Additionally I would point out (as per this answer further down) that there is a setting called "Required device capabilities" from which you need to remove 'armv7'. This is in your app's plist file.

    I'm saying all this like I'm an expert, but I still can't get it to work on a v3.1.3 device :-)

    0 讨论(0)
提交回复
热议问题