iPhone 应用程序临时分发问题 - “无法同步”
经过近两年的休整(最后一次开发是在 iOS3 上),我刚刚重新回到 iPhone 开发中,在尝试进行临时发行版时我感到很悲伤。
I:
- 在配置门户中添加了新设备(包括我自己的设备进行测试)
- 重新创建了我的临时配置配置文件
- 将其安装在 Xcode 中
- 更新了目标以使用它并构建了应用程序(到目前为止没有问题)
- 将应用程序和配置文件拖到 iTunes 中
- 同步
- 收到消息“同步失败”
知道这可能是配置文件的问题我从头开始并且:
- 删除了旧配置文件
- 重新创建了我的证书
- 重新创建了配置文件
- 完成了上述步骤
- 得到了相同的结果
我没有100% 确定我的目标和构建设置。以下是相关部分的屏幕截图,以防有帮助:
目标代码签名(选择了正确的配置文件):
项目配置:
在另一篇文章中建议我参考文档,但我无法找到有关这些的具体信息设置。我仍然有关于如何在 Xcode 3.x 中执行此操作的 doco,但它似乎对我没有多大帮助。
预先感谢,
艾伦。
Just getting back into iPhone dev after almost two years off (last dev'd on iOS3) and I'm getting grief while trying to do an ad hoc distribution.
I:
- Added new devices in the provisioning portal (inc. my own to test)
- Recreated my ad hoc provisioning profile
- Installed it in Xcode
- Updated the target to use it and built the app (no problem so far)
- Dragged the app and profile into iTunes
- Sync'd
- Got the message "Failed to sync"
Knowing that this was likely an issue with the profile I started from scratch and:
- Removed the old profile
- Recreated my certificate
- Recreated the profile
- Completed the above steps
- Got the same result
I'm not 100% sure of my target and build settings. Here are screen shots of the relevant sections in case it helps:
Target Code Signing (the correct profile is selected):
Project Configuration:
I've been advised in another post to refer to the documentation but I have been unable to locate specific information on these settings. I still have doco on how to do it in Xcode 3.x but it doesn't sdeem to be doing me much good here.
Thanks in advance,
Alan.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅我之前的一篇与 AdHoc 应用程序部署。
我想正确的方法是使用管理器而不是 iTunes Sync。
请注意您的屏幕截图:我注意到的唯一问题是调试中的代码签名身份应该使用调试配置文件而不是分发< /em> 一。
希望这有帮助。
See a previous post of mine related to AdHoc application deploy.
I guess the way to do it properly, is to use the Organizer and not iTunes Sync.
Note about your screenshots : The only issue I noticed is the Code Signing Identity in Debug should use debug provisioning profile and not distribution one.
Hope this helps.
非常感谢塞巴斯蒂安。您的帖子没有直接回答我的问题,但切换到使用管理器让我更进一步,并最终引导我找到一篇指出关键细节的帖子:
可以调试 对于 Entitlements.plist 中的临时发行版必须设置为 NO
这是我的问题,在进行更改后我现在已成功安装。
A big thanks to you Sebastian. Your post didn't directly answer my issue but switching to using the Organiser got me one step further and finally led me to a post that pointed out the critical detail:
Can be debugged must be set to NO for ad hoc distributions in Entitlements.plist
That was my problem and I have now successfully installed after making the change.