我试过几个 App 和证书都是有这样的问题,这是什么原因?要怎么解决呢?
F:\Autotest\Add_devices>tidevice xctest -B xxx.xxx.xctrunner
[I 210813 15:53:01 device:964] BundleID: xxx.xxx.xctrunner
[I 210813 15:53:01 _device:967] ProductVersion: 11.4.1
[I 210813 15:53:01 _device:969] DeviceIdentifier: xxxxxxxxxxxxxxx
[I 210813 15:53:01 _device:808] SignIdentity: 'Apple Development: xxxxxxxxxxxx'
[I 210813 15:53:01 _device:814] CFBundleExecutable: xxxxxx-Runner
[I 210813 15:53:01 _device:845] AppContainer: /private/var/mobile/Containers/Data/Application/207159FE-F718-48F6-BC8F-2EC1DFE348C7
[E 210813 15:53:02 _device:882] Launch failed: NSError(CODE:1 DOMAIN:DTXMessage INFO:{'DTXExceptionKey': 'The operation couldn’t be completed. '
'(FBSOpenApplicationErrorDomain error 1.) : Failed to '
'launch process with bundle identifier '
"xxx.xxx.xctrunner'"})
Traceback (most recent call last):
File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\python37\Scripts\tidevice.exe__main.py", line 9, in
File "c:\python37\lib\site-packages\tidevice__main.py", line 720, in main
actionsargs.subparser
File "c:\python37\lib\site-packages\tidevice__main_.py", line 226, in cmd_xctest
env=env)
File "c:\python37\lib\site-packages\tidevice_device.py", line 1042, in xctest
env=env, logger=xclogger)
File "c:\python37\lib\site-packages\tidevice_device.py", line 883, in _launch_app_runner
raise MuxError("Launch failed")
tidevice.exceptions.MuxError: Launch failed