xcode无法找到安装此版本的软件映像 [英] xcode cannot find the software image to install this version

查看:111
本文介绍了xcode无法找到安装此版本的软件映像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是xCode开发的新手,在配置系统中努力尝试在真实设备上运行Hello World应用程序。我经历了一些步骤,一切似乎都很好,但有一点:

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 seems fine but one thing:

当我在xCode组织器中点击我的设备(Iphone 3G运行IOS 4.2.1)时,以下消息是:显示在软件版本下:Xcode无法找到安装此版本的软件映像...

When i click my device (Iphone 3G running IOS 4.2.1) in the xCode organizer the following message is displayed under Software Version: Xcode cannot find the software image to install this version...

此外,配置文件显示组织者中没有任何状态(包括库中和装置)。在配置门户网站上,他们的状态是有效的。

Also the provisioning profiles show no status in the organizer (both in the library and on the device). On the provisioning portal they have the status active.

我希望有人可以帮助我,谢谢!!

I hope someone can help me, thanks!!

PS。我正在使用xcode 4

ps. i am working with xcode 4

更新:好的,我找到了解决方案 - >在信息标签中将部署目标设置为4.2: https://discussions.apple.com/thread/2780316?start=0&tstar

Update: OK, I've found the solution -> set deployment target to 4.2 in info tab: https://discussions.apple.com/thread/2780316?start=0&tstar

推荐答案

消息xcode找不到安装此版本的软件映像在组织者窗口中看到...这只是一个通知而不是一个有问题的错误。

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.

如果你想要消除这个消息,我发现我能够通过在iTunes中运行恢复来做到这一点。该过程的一部分涉及下载一些东西,我认为这是软件图像。

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'.

但是,如技术Q& A QA1569 此消息不会阻止您将设备用于开发目的。唯一的影响是无法使用Xcode重新安装设备上当前的操作系统。 ......这就是我的经历。回到Xcode主窗口,您仍然可以点击运行并将应用程序发送到设备上运行。

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.

...它会在假设一切运行其他设置好了,但是还有其他与Xcode 4.2和v4设备相关的其他问题:

...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:


  • 如Overbeeke所述你应该确保你的项目的'部署目标'
    被设置为所需的版本(你想支持的设备的最低
    版本)另外我会
    指出' SDK版本'通常应该保持设置为最新的
    (它是你机器上的任何SDK Xcode使用的)

  • 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)

正如Kenneth Lam所说,如果你想支持早期型号的
iPhone,你需要使用armv6 / armv7设置在
左右。按照这些说明添加正确的架构armv6设置。另外,我会指出(根据此答案进一步向下),有一个名为必需的设备功能的设置,你需要删除'armv7'。这是在你的应用程序的plist文件中。

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.

我说这一切都像我是专家,但我仍然无法让它在v3.1.3设备上运行: - )

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 :-)

这篇关于xcode无法找到安装此版本的软件映像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆