xcode运行报错出现:Unable to install "xxx"
Details Unable to install "xxx" Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103 -- Could not inspect the application package. Domain:
com.apple.dt.MobileDeviceErrorDomain Code: -402653103 User Info: {
DVTRadarComponentKey = 282703; MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x000000011e02381a
DTDKCreateNSErrorFromAMDErrorCode + 233 1 DTDeviceKitBase 0x000000011e064f70
__90-[DTDKMobileDeviceToken
installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke
+ 155 2 DVTFoundation 0x0000000104ad8155 DVTInvokeWithStrongOwnership + 73 3
DTDeviceKitBase 0x000000011e064ca8 -[DTDKMobileDeviceToken
installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654 4
IDEiOSSupportCore 0x000000011dedbe91
__118-[DVTiOSDevice(DVTiPhoneApplicationInstallation)
processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352
+ 4165 5 DVTFoundation 0x0000000104c0b7f4 __DVT_CALLING_CLIENT_BLOCK__ + 7 6
DVTFoundation 0x0000000104c0d436 __DVTDispatchAsync_block_invoke + 1194 7
libdispatch.dylib 0x00007fff732c66c4 _dispatch_call_block_and_release + 12 8
libdispatch.dylib 0x00007fff732c7658 _dispatch_client_callout + 8 9
libdispatch.dylib 0x00007fff732ccc44 _dispatch_lane_serial_drain + 597 10
libdispatch.dylib 0x00007fff732cd5d6 _dispatch_lane_invoke + 363 11
libdispatch.dylib 0x00007fff732d6c09 _dispatch_workloop_worker_thread + 596 12
libsystem_pthread.dylib 0x00007fff73521a3d _pthread_wqthread + 290 13
libsystem_pthread.dylib 0x00007fff73520b77 start_wqthread + 15 ); } -- System
Information macOS Version 10.15.4 (Build 19E287) Xcode 11.4.1 (16137)
排除了证书的问题和xcode缓存的问题并删除了~/Library/Developer/Xcode/DerivedData下相关数据

解决中...

最终发现是pods组件库中缺少plist文件导致。添加更新完后又了plist,一切正常运行。

 

技术
下载桌面版
GitHub
百度网盘(提取码:draw)
Gitee
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:[email protected]
QQ群:766591547
关注微信