ios iPhone 无法支持开发
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4652590/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
iPhone Could Not Support Development
提问by Josh
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:
我最近重新安装了 OSX。收集我所有的证书等很痛苦,但我终于回来了。但是,当我尝试在我拥有的两部 iPhone 3G 中的任何一部上安装应用程序时,他们都说:
Software version: 4.2.1 (8C148) | XCode cannot find the software image to install this version. | Could not support development.
软件版本:4.2.1 (8C148) | XCode 找不到安装此版本的软件映像。| 无法支持开发。
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.
到底是怎么回事?两款 iPhone 在 iTunes 中都将自己列为最新版本,而 iOS 开发者中心仅将 4.2 列为可用的 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.
更新:我从配置门户中删除了我的所有 3 个(包括 2 个)设备,并将它们从组织者中删除,关闭 XCode,分离设备,重新启动,插入设备,没有运气。
回答by nevan king
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.
我刚刚在 Xcode 4.0.2 和运行 4.2.1 的 iPhone 3G(3G 上允许的最终 4.x)上遇到了这个错误。我重新启动了 Xcode,它完成了收集调试信息的过程,然后给了我一个绿灯。此处的其他答案说您可能还需要退出 iTunes 才能正常工作。
Conclusion: Try restarting Xcode. Quit iTunes first if it was open.
结论:尝试重新启动 Xcode。如果 iTunes 处于打开状态,请先退出。
回答by Magnus
Classic ;-)
经典的 ;-)
- connect the iphone
- Go to Xcode -> Window -> organizer
find your iphone and press "Use for development"
As Jacob said: try adding / removing your device as well
- 连接 iPhone
- 转到 Xcode -> 窗口 -> 组织者
找到您的 iphone 并按“用于开发”
正如雅各布所说:也尝试添加/删除您的设备
If you still get this error you have an out of date XCode
如果您仍然收到此错误,则您的 XCode 已过时
回答by slano
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.
我在 IOS 5.0.1 和 Xcode 4.2 上遇到了同样的问题。我按照其他人的建议重新启动了 Xcode。但是,我还需要关闭自动启动的 iTunes 并从 iTunes 中弹出我的 iPhone。然后,重新启动 Xcode,它工作正常。
回答by Hot Licks
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.
刚遇到这个问题。首先,我有一个过期的证书和过期的配置文件,所以必须修复两者(我很少这样做,所以花了 45 分钟)。然后还是报错。尝试关闭/打开电话 - 不高兴。关闭 Organizer 并重新启动——那里也没有运气。杀死 Xcode 并重新启动,但没有运气。
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.
最后,我关掉手机,关掉 Mac,关掉顶灯,在我的转椅上顺时针旋转三圈,然后重新开始一切。然后它起作用了。
(I suspect that iTunes was active and had something to do with the problem.)
(我怀疑 iTunes 处于活动状态并且与问题有关。)
回答by Peter Y
This one workedfor me just now (power cycle the iOS device)
这个刚刚对我有用(重启iOS设备)
回答by Cruinh
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!
我也刚遇到这种情况。上述解决方案似乎没有工作。最后证明是 iPhone 充电线有问题。因此,如果您看到此消息,请检查一下!
回答by HenryRootTwo
Xcode 5, iPhone 4S, no new name or any other changes that I can think of.
Xcode 5、iPhone 4S,没有新名称或我能想到的任何其他更改。
I simply quit iTunes, disconnected the cable, reconnected the cable. Then the organiser gave me the green light.
我只是退出 iTunes,断开电缆,重新连接电缆。然后,组织者给我开了绿灯。
回答by tangobravo
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.
对我来说,这是由于设备上缺少可用存储空间造成的 - 在删除一些视频和应用程序文档后,Xcode 管理器能够完成“符号复制”等过程。它似乎不需要太多空间,所以如果 iTunes 没有显示存储空间几乎已满,那几乎肯定不是其他人的原因。
回答by Mark
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.
当我将手机名称从“标记 X 的手机”更改为更匿名的名称时发生在我身上。删除配置文件,重新连接手机,从那里自动工作。
回答by KmoSkillz
I just had the same problem.
我只是遇到了同样的问题。
In my case I had to
就我而言,我不得不
- open itunes and agree to a new software agreement.
- I first agreed to it on the developer portal and then from within itunes.
- I closed itunes, restarted xcode and my Ipad was good to go.
- 打开 iTunes 并同意新的软件协议。
- 我首先在开发人员门户上同意,然后在 iTunes 中同意。
- 我关闭了 iTunes,重新启动了 xcode,我的 Ipad 运行良好。