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

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

问题

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                     0x0000000125d5dc8f DTDKCreateNSErrorFromAMDErrorCode + 220
	1   DTDeviceKitBase                     0x0000000125d9c241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
	2   DVTFoundation                       0x000000010892c64b DVTInvokeWithStrongOwnership + 71
	3   DTDeviceKitBase                     0x0000000125d9bf82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
	4   IDEiOSSupportCore                   0x0000000125c0ca10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
	5   DVTFoundation                       0x0000000108a5b17e __DVT_CALLING_CLIENT_BLOCK__ + 7
	6   DVTFoundation                       0x0000000108a5cda0 __DVTDispatchAsync_block_invoke + 1191
	7   libdispatch.dylib                   0x00007fff2018c5dd _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x00007fff2018d7c7 _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x00007fff201935fe _dispatch_lane_serial_drain + 606
	10  libdispatch.dylib                   0x00007fff201940cb _dispatch_lane_invoke + 375
	11  libdispatch.dylib                   0x00007fff2019dc5d _dispatch_workloop_worker_thread + 819
	12  libsystem_pthread.dylib             0x00007fff20335499 _pthread_wqthread + 314
	13  libsystem_pthread.dylib             0x00007fff20334467 start_wqthread + 15
);
}
--


System Information

macOS Version 11.0.1 (Build 20B50)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-01-12T17:26:46+08:00

解决方案:


检查此处相关framework是否是静态库,静态库选择“Do Not Embed”,动态库选择 “Embed & Sign”。

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

xcode Unable to install "xxx"

2021-4-22 13:09:25

iOS文章

iOS UI绘制原理

2021-4-22 13:47:07

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