iPhone 无法支持开发

发布于 2024-10-11 11:31:58 字数 355 浏览 8 评论 0原文

我最近重新安装了 OSX。整理我所有的证书等是一件很痛苦的事情,但我终于回来了。然而,当我尝试在我拥有的两部 iPhone 3G 中的任何一部上安装应用程序时,他们都说:

软件版本:4.2.1 (8C148) | XCode 找不到安装此版本的软件映像。 |无法支持开发。

到底是怎么回事?两款 iPhone 在 iTunes 中都将自己列为最新版本,而 iOS 开发者中心仅将 4.2 列为可用的 SDK。

编辑:我确实有付费会员资格,并且最近我在这两台设备上安装了测试应用程序。

更新:我从配置门户中删除了所有 3 个设备(包括 2 个),并从管理器中删除了它们,关闭了 XCode,分离了设备,重新启动,插入了设备,没有运气。

I recently reinstalled OSX. It has been a pain rounding up all of my certificates, etc, but I finally am back. However, when trying to install an app on either of two iPhones 3G's I have, they both say:

Software version: 4.2.1 (8C148) | XCode cannot find the software image to install this version. | Could not support development.

What is going on? Both iPhones list themselves as up to date in iTunes, and iOS developer's center only lists 4.2 as the available SDK.

EDIT: I do have a paid membership, and I have recently had test apps installed on both of these devices.

UPDATE: I removed all 3 ( the 2 included ) of my devices from the provisioning portal, and deleted them from the organizer, closed XCode, detached device, restarted, plugged in device, no luck.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(11

愿得七秒忆 2024-10-18 11:31:58

我刚刚在 Xcode 4.0.2 和运行 4.2.1 的 iPhone 3G(3G 上允许的最终 4.x)中遇到此错误。我重新启动了 Xcode,它完成了收集调试信息的过程,然后给了我绿灯。这里的其他答案说您可能还需要退出 iTunes 才能正常工作。

结论:尝试重新启动 Xcode。如果 iTunes 打开,请先退出它。

I just got this error with Xcode 4.0.2 and an iPhone 3G running 4.2.1 (the final 4.x allowed on a 3G). I restarted Xcode and it went through the process of collecting debug information, then gave me a green light. Other answers here say that you may also need to quit iTunes for this to work.

Conclusion: Try restarting Xcode. Quit iTunes first if it was open.

痕至 2024-10-18 11:31:58

经典 ;-)

  1. 连接 iphone
  2. 转到 Xcode ->窗口->组织者
  3. 找到您的iPhone并按“用于开发”

  4. 正如雅各布所说:也尝试添加/删除您的设备

如果您仍然收到此错误,则说明 XCode 已过时

Classic ;-)

  1. connect the iphone
  2. Go to Xcode -> Window -> organizer
  3. find your iphone and press "Use for development"

  4. As Jacob said: try adding / removing your device as well

If you still get this error you have an out of date XCode

我是男神闪亮亮 2024-10-18 11:31:58

我在 IOS 5.0.1 和 Xcode 4.2 上也遇到了同样的问题。我按照其他建议重新启动了 Xcode。但是,我还需要关闭自动启动的 iTunes,并从 iTunes 中弹出我的 iPhone。然后,重新启动 Xcode,一切正常。

I had the same problem with IOS 5.0.1 and Xcode 4.2. I restarted Xcode as other suggested. However, I also needed to close iTunes which had started automatically and eject my iPhone from iTunes. Then, restart Xcode and it worked fine.

明月夜 2024-10-18 11:31:58

刚刚遇到这个问题。首先,我的证书和配置文件都已过期,因此必须同时修复这两个问题(而且我很少这样做,以至于花了 45 分钟)。然后还是报错。尝试关闭/打开手机——没有乐趣。关闭管理器并重新启动 - 也没有运气。杀死 Xcode 并重新启动,但没有运气。

最后,我关掉手机,关闭 Mac,关掉头顶的灯,坐在转椅上顺时针旋转三圈,然后重新开始一切。然后就成功了。

(我怀疑 iTunes 处于活动状态并且与该问题有关。)

Just encountered this problem. First, I had both an expired certificate and expired provisioning profile, so had to fix both (and I do this so rarely that it took a good 45 minutes). Then still got the error. Tried phone off/on -- no joy. Shut down Organizer and restarted -- no luck there either. Killed Xcode and restarted, with no luck.

Finally, I turned off the phone, shut down the Mac, turned off the overhead lights, and spun around three times clockwise in my swivel chair, then started everything up again. Then it worked.

(I suspect that iTunes was active and had something to do with the problem.)

祁梦 2024-10-18 11:31:58

这个对我有用(重启 iOS设备)

This one worked for me just now (power cycle the iOS device)

此刻的回忆 2024-10-18 11:31:58

我刚刚也发生过这种情况。上述解决方案似乎都不起作用。最后发现是iPhone充电线有问题。因此,如果您看到此消息,也请检查一下!

I just had this happen as well. None of the above solutions seemed to work. In the end, it turned out to be a faulty iPhone charge cable. So check that too if you see this message!

神魇的王 2024-10-18 11:31:58

尝试通过关闭不必要的打开应用程序来释放内存。我尝试重新启动 XCode 并关闭 iTunes,但问题仍然存在。然后我注意到我的 4GB MacBook White 内存不足。我关闭了所有非必需的应用程序,完成后,我的 iPad3 旁边的绿灯亮了起来,我可以在上面运行我的应用程序。

对我来说,打开大量选项卡的 Google Chrome 和 XCode 的组合通常足以耗尽我所有的可用 RAM;过去 4 Gigs 对于 iOS 开发来说已经足够了,但使用 XCode 4.2 就感觉有点局促了。

Try freeing up memory by closing down unnecessary open apps. I tried restarting XCode and shutting down iTunes but still had the problem. Then I noticed I was running low on memory on my 4GB MacBook White. I closed down all non-essential apps and when I was done the green light had lit up beside my iPad3 and I could run my app on it.

For me the combination of Google Chrome with lots of tabs open and XCode often is enough to use up all my available RAM; where 4 Gigs used to be plenty of memory for iOS development, with XCode 4.2 it's feeling a bit cramped.

﹉夏雨初晴づ 2024-10-18 11:31:58

当我将手机名称从“马克 X 的手机”更改为更匿名的名称时,就发生了这种情况。删除个人资料,重新连接手机,从那里自动工作。

Happened to me when I changed the name of my phone from "mark X's phone" to a more anonymous name. Removed profile, reconnected phone, worked automatically from there.

胡渣熟男 2024-10-18 11:31:58

我刚刚遇到了同样的问题。

就我而言,我必须

  1. 打开 iTunes 并同意新的软件协议。
  2. 我首先在开发者门户上同意,然后从内部同意
    iTunes。
  3. 我关闭了 itunes,重新启动了 xcode,我的 iPad 就可以使用了。

I just had the same problem.

In my case I had to

  1. open itunes and agree to a new software agreement.
  2. I first agreed to it on the developer portal and then from within
    itunes.
  3. I closed itunes, restarted xcode and my Ipad was good to go.
多孤肩上扛 2024-10-18 11:31:58

Xcode 5、iPhone 4S,没有新名称或我能想到的任何其他更改。

我只是退出 iTunes,断开数据线,然后重新连接数据线。然后组织者就给我开了绿灯。

Xcode 5, iPhone 4S, no new name or any other changes that I can think of.

I simply quit iTunes, disconnected the cable, reconnected the cable. Then the organiser gave me the green light.

生活了然无味 2024-10-18 11:31:58

对我来说,这是由于设备上缺乏可用存储空间造成的 - 在删除一些视频和应用程序文档后,Xcode 组织者能够完成“符号复制”等过程。它似乎不需要太多空间,因此如果 iTunes 没有将存储显示为几乎已满,那么几乎可以肯定这不是其他人的原因。

For me this was caused by a lack of free storage space on the device - after deleting a few videos and app documents, Xcode organiser was able to complete the "symbol copying" etc process. It doesn't appear to need much space for this, so if iTunes doesn't show the storage as being nearly full it's almost certainly not the cause for other people.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文