xcode Unable to install “xxx”

释放双眼,带上耳机,听听看~!

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,一切正常运行。

为TA充电
共{{data.count}}人
人已赞赏
iOS文章

解决Xcode 真机调试报错“Unable to install XXXXXXXX Domain: com.apple.dt.MobileDeviceErrorDomain Code: -40262“

2021-4-22 12:32:09

iOS文章

Xcode 12.3 iOS14.2 Could not inspect the application package.

2021-4-22 13:43:43

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索