【问题标题】:"security policy error" on iPhone and iPod TouchiPhone 和 iPod Touch 上的“安全策略错误”
【发布时间】:2011-01-27 21:11:07
【问题描述】:

当我尝试在我的 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

【问题讨论】:

  • 一些额外信息:我为该设备构建的临时构建工作正常。

标签: iphone security ipod-touch policy


【解决方案1】:

您是否检查过 iPod 不包含任何过期的配置文件?我过去在构建包含过期配置文件的设备时遇到过麻烦。

尝试删除所有过期的个人资料,看看是否有帮助。

【讨论】:

  • 工作就像一个魅力!谢谢!
【解决方案2】:

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

【讨论】:

    【解决方案3】:

    我们通过安装发布版本(专为临时分发而构建)然后从 Xcode 调试来“修复”此问题。从现在开始,它可以正常安装和更新应用程序。 3GS 与 4.3.2。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-25
      • 1970-01-01
      • 2011-05-15
      • 1970-01-01
      相关资源
      最近更新 更多