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

释放双眼,带上耳机,听听看~!
Unable to install XXXXXXXX
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
--
A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
    DVTRadarComponentKey = 487925;
    MobileDeviceErrorCode = "(0xE8008015)";
    "com.apple.dtdevicekit.stacktrace" = (
	0   DTDeviceKitBase                     0x0000000126a5581a DTDKCreateNSErrorFromAMDErrorCode + 233
	1   DTDeviceKitBase                     0x0000000126a96f70 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
	2   DVTFoundation                       0x000000010cee3f35 DVTInvokeWithStrongOwnership + 73
	3   DTDeviceKitBase                     0x0000000126a96ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
	4   IDEiOSSupportCore                   0x000000012690de91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165
	5   DVTFoundation                       0x000000010d0175d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
	6   DVTFoundation                       0x000000010d019216 __DVTDispatchAsync_block_invoke + 1194
	7   libdispatch.dylib                   0x00007fff66216583 _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x00007fff6621750e _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x00007fff6621cace _dispatch_lane_serial_drain + 597
	10  libdispatch.dylib                   0x00007fff6621d452 _dispatch_lane_invoke + 363
	11  libdispatch.dylib                   0x00007fff66226a9e _dispatch_workloop_worker_thread + 598
	12  libsystem_pthread.dylib             0x00007fff664716fc _pthread_wqthread + 290
	13  libsystem_pthread.dylib             0x00007fff66470827 start_wqthread + 15
);
}
--
 
 
System Information
 
macOS Version 10.15.3 (Build 19D76)
Xcode 11.6 (16141)

clean,重启均无效

打开Xcode,选取"File" > "Project Settings..." 选择 "Legacy Build System" 而不是 "Build System" dropdown即可解决。

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

iOS Unable to install ‘*****’

2021-4-22 12:28:45

iOS文章

xcode Unable to install "xxx"

2021-4-22 13:09:25

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