安装iPhone SDK 3.1后安全策略错误
我正在开发一个 iPhone 项目,但创建该项目的开发人员已离开公司。老板要求我确保它可以在 3.1 iPhone SDK 上编译。
安装后,它仅在设备上构建并运行良好一次。
之后,它仍然可以正常构建,但是如果我尝试在设备上运行它,它会停止说 调试器错误:启动远程程序时出错:安全策略错误
它也不会在模拟器中播放,除了这次它只是说“调试终止”
有人对可能导致此问题的原因有任何想法吗?
I'm working on an iPhone project in which the developer that created it has left the company. The Boss asked me to ensure it compiles on the 3.1 iPhone SDK.
After installing, it built and ran fine just once on the device.
After that, it still builds okay, but if I try to run it on the device, it halts saying
Error from Debugger: Error launching remote program: Security policy Error
It won't play in the simulator either, except this time it just says "Debugging Terminated"
Does anybody have any ideas about what might be causing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
问题最终是有一个配置文件(来自完全不同的项目)已经过期。我不知道为什么这个不相关的配置文件过期会导致这个问题。
从 iPhone 中删除过期的配置文件解决了这个问题。
The problem ended up being that there was a provisioning profile (from a completely different project) that had expired. I don't know why having this unrelated profile expire would cause this problem.
Deleting the expired profile from the iPhone fixed the problem.
我写下了一个教程来解决这个问题:
http://www.drooljunkie.com/code-uncode/beginning-iphone-app-dev-issues-part-2-running-app-on-the-device -问题/
I have written down a tutorial to solve this:
http://www.drooljunkie.com/code-uncode/beginning-iphone-app-dev-issues-part-2-running-app-on-the-device-issues/
就我而言,我删除了那些同名的......
in my case I removed those with the same name ...