Appium 使用 Appium 启动模拟器程序一直闪退,重启

yefengjun · 2017年02月06日 · 最后由 kang_2017 回复于 2017年02月24日 · 1586 次阅读

appium 的版本是 1.5.3,我用的开发给的.app 文件,使用模拟器运行的时候程序打开后马上闪退之后再重新打开再闪退如此反复几次后模拟机自动关闭
报错信息如下,刚开始的时候报这个错:

Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.jd.livecast'

后来又试了几次报这个错:

[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon dataaccessd[7604]: 0x7fd0b45000d0|DA|Error|Didn't find store with identifier Subscribed Calendars in cal db. Creating one
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon SpringBoard[7540]: 2017-02-06 11:31:39.189+0800|7540|0x7fe91b9969a0|log.facility.eventkit.notifications: Sync running. Waiting for it to finish before checking for updates.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon SpringBoard[7540]: 2017-02-06 11:31:39.189+0800|7540|0x7fe91b6370c0|log.facility.eventkit.notifications: Sync running. Waiting for it to finish before checking for updates.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW
] Feb  6 11:31:39 bogon dataaccessd[7604]: 0x7fd0b45000d0|DA|Error|spinnerIdentifiers to be implemented by subclass
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 --- last message repeated 2 times ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x5465][7614]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x5465]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91bb0b090; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x5465]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:39 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon assertiond[7544]: Could not create or rename power assertion for <BKNewProcess: 0x7fb959906050; com.apple.mobilecal; pid: 7612; hostpid: -1>: 0xe00002c9
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon assertiond[7544]: assertion failed: 16B2555 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon com.apple.CoreSimulator.SimDevice.54AF50
D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x6b96][7615]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x6b96]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91bb3eef0; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x6b96]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x3123][7616]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x3123]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91b5e7f80; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:40 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x3123]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x4441][7617]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x4441]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91bb1faa0; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x4441]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x5688][7618]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x5688]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91b6f54b0; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x5688]' exited for an unknown reason.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0xa07e][7620]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0xa07e]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91bac0f40; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:41 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] F
eb  6 11:31:41 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0xa07e]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x5b58][7623]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x5b58]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91b6f8b90; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x5b58]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0xcdf4][7624]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0xcdf4]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91b842070; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:42 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0xcdf4]' exited for an unknown reason.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x1880][7625]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x1880]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91bf30820; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x1880]' exited voluntarily.

[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x75af][7626]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x75af]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91ba3e1a0; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x75af]' exited voluntarily.
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x30a5][7627]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x30a5]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91be37a90; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: [FBSystemService] Error launching com.jd.livecast: Unspecified (1)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 --- last message repeated 1 time ---
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:43 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x30a5]' exited voluntarily.

[debug] [Instruments] [INST STDERR] Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) : Failed to launch process with bundle identifier 'com.jd.livecast'

[Instruments] Error launching instruments: Instruments crashed on startup

[debug] [Instruments] Instruments exited with code 253
[debug] [iOSSim] Killing all iOS Simulators
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:44 bogon DTServiceHub[7549]: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:44 bogon com.apple.CoreSimulator.SimDevice.54AF50D5-A1B1-461E-9DF1-73E79CBBA786.launchd_sim[7524] (UIKitApplication:com.jd.livecast[0x20][7628]): Program specified by service does not contain one of the requested architectures: �
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:44 bogon SpringBoard[7540]: Unable to get pid for 'UIKitApplication:com.jd.livecast[0x20]': No such process (err 3)
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:44 bogon SpringBoard[7540]: Bootstrapping failed for <FBApplicationProcess: 0x7fe91b97a6d0; com.jd.livecast; pid: -1>
[iOSLog] [IOS_SYSLOG_ROW] Feb  6 11:31:44 bogon SpringBoard[7540]: Application 'UIKitApplication:com.jd.livecast[0x20]' exited voluntarily.

麻烦各位帮忙看一下吧。谢谢了!

共收到 1 条回复 时间 点赞

我也遇到类似问题了,能请教下是如何解决的么

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册