【问题标题】:iOS crash when testing on device - debug logs在设备上测试时 iOS 崩溃 - 调试日志
【发布时间】:2017-10-30 03:25:25
【问题描述】:

我已经开始在我的 iPhone 上测试我的 iOS 应用。一周左右一切正常,然后当我尝试打开它时,我的应用程序立即开始崩溃。当我检查手机的日志时(窗口-设备-选择我的 iPhone),我看到以下日志消息。

<Notice>: Submitted job with label: UIKitApplication:com.app.App-Name[0x9fed][63]

<Notice>: /private/var/containers/Bundle/Application/64152E86-B292-47E5-A12D-27E5E23CACFF/App-Name.app/App-Name not valid: 0xe8008015: A valid provisioning profile for this executable was not found.

<Error>: Unable to obtain a task name port right for pid 14847: (os/kern) failure (0x5)
May 29 08:46:13 iPhone assertiond[63] <Notice>: Failed to start job 
with error Error Domain=NSPOSIXErrorDomain Code=3 "No such process" 
UserInfo={NSLocalizedRecoverySuggestion=Consult 
/var/log/com.apple.xpc.launchd/launchd.log for more information, 
NSLocalizedDescription=Unable to get valid task name port right for pid 
14847, NSLocalizedFailureReason=The process failed to exec}

<Notice>: Deleted job with label: UIKitApplication:com.app.App-
Name[0x9fed][63]

<Notice>: [app.App-Name] Bootstrap failed with error: <NSError: 
0x115657730; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); 
reason: "Failed to start job">

 <Error>: Bootstrapping failed for <FBApplicationProcess: 0x11d2702a0; 
 com.app.App-Name; pid: -1> with error: Error 
 Domain=BKSProcessErrorDomain Code=1 "Unable to bootstrap process with 
 bundleID com.app.App-Name" UserInfo={BKSProcessExitReason=0, 
NSLocalizedFailureReason=Failed to start job, 
NSUnderlyingError=0x11fa53590 {Error Domain=NSPOSIXErrorDomain Code=3 
"No such process" UserInfo={NSLocalizedFailureReason=The process failed 
to exec, NSLocalizedRecoverySuggestion=Consult 
/var/log/com.apple.xpc.launchd/launchd.log for more information, 
NSLocalizedDescription=Unable to get valid task name port right for pid 
 14847}}, BSErrorCodeDescription=bootstrap-failed, 
 NSLocalizedDescription=Unable to bootstrap process with bundleID 
 com.app.App-Name}

 <Notice>: <FBApplicationProcess: 0x11d2702a0; com.app.App-Name; pid: -1> exited.

<Notice>: SystemUI unknown identifier: 'com.app.App-Name'

<Notice>: Process exited: <FBApplicationProcess: 0x11d2702a0; com.app.App-Name; pid: -1> -> <FBApplicationProcessExitContext: 0x176235aa0; exitReason: (none); terminationReason: (none)>

我已经搜索了这些错误日志以尝试找到解决方案,但没有成功。

任何帮助将不胜感激。

【问题讨论】:

  • 您是否使用付费的 Apple Developer Membership?
  • @AndyIbanez 不,我还没有。当我还在我的设备上进行测试时,我认为我还没有必要这样做?我正在使用我的个人 Apple ID 电子邮件进行配置。
  • 你的问题。使用免费开发者帐户签名的应用程序会在一周后过期,因此您每周都必须重新构建并退出您的应用程序。当您获得付费帐户后,此问题就会消失,这将使您可以运行您的非 App Store 应用长达一年。
  • @AndyIbanez 谢谢!
  • 我遇到了类似的问题,但我有一个付费帐户。 stackoverflow.com/questions/52951536/… 任何帮助表示赞赏。

标签: ios iphone runtime-error


【解决方案1】:

我的应用程序也遇到了同样的情况,该应用程序 Bundle Identifier转移到另一个 Apple 开发团队

在移动 Bundle Identifier 后,以前的构建包含不再有效的配置文件,我在日志中收到此错误消息。

我猜如果您删除配置文件或者它因任何原因失效,也会发生同样的情况。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-11-25
    • 2012-10-19
    • 1970-01-01
    • 1970-01-01
    • 2020-02-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多