iPhone和iPod Touch上的"security policy error"(安全策略错误)

4

当我尝试在我的iPod Touch上运行应用程序时,出现“调试器错误:启动远程程序时出错:安全策略错误”的错误。证书看起来没有问题,并且该应用程序可以在我的iPhone 3GS上构建成功。该应用程序以前也可以在我的iPod Touch上构建成功,所以我很困惑可能发生了什么,并想知道是否有人对可能导致此问题的原因有任何想法。请参阅以下构建日志。

Mon Mar 15 14:25:54 unknown com.apple.debugserver-43[449] <Warning>: Connecting to com.apple.debugserver service...
Mon Mar 15 14:25:55 unknown SpringBoard[24] <Warning>: Unable to launch com.yourcompany.Unearthed because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
Mon Mar 15 14:25:55 unknown com.apple.debugserver-43[449] <Error>: error: unable to launch the application with CFBundleIdentifier 'com.yourcompany.Unearthed' sbs_error = 9
Mon Mar 15 14:25:55 unknown com.apple.debugserver-43[449] <Warning>: 1 [01c1/0903]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: ''
Mon Mar 15 14:25:55 unknown com.apple.debugserver-43[449] <Warning>: error: failed to launch process (null): security policy error
Mon Mar 15 14:26:03 unknown MobileSafari[72] <Warning>: void SendDelegateMessage(NSInvocation*): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: UITrackingRunLoopMode

一些额外的信息:我为该设备构建的即席版本可以正常工作。 - Joey
3个回答

11

你是否检查了iPod中是否含有过期的配置文件?我以前在构建设备时遇到过包含过期配置文件的问题。

尝试删除任何过期的配置文件,看看是否有帮助。


0

删除所有旧的过期配置文件。


0
我们通过安装发布版本(用于 ad-hoc 分发)并从 Xcode 进行调试来“修复”此问题。现在它可以正常安装和更新应用程序了。3GS,4.3.2 版本。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接