xcode编译成功但无法安装到手机

1

Unable to install “”
Domain: com.apple.dtdevicekit

Code: -402620395

App installation failed
Domain: com.apple.dtdevicekit
Code: -402620395
Failure Reason: A valid provisioning profile for this executable was not found.
User Info: {
DVTRadarComponentKey = 487927;
“com.apple.dtdevicekit.stacktrace” = (
0 DTDeviceKitBase 0x00000001202e36e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x00000001202e3de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x000000012032356a 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164 3 DVTFoundation 0x0000000107d40c12 DVTInvokeWithStrongOwnership + 73 4 DTDeviceKitBase 0x0000000120323301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589 5 IDEiOSSupportCore 0x00000001201aba25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523 6 DVTFoundation 0x0000000107e71e7a __DVT_CALLING_CLIENT_BLOCK + 7
7 DVTFoundation 0x0000000107e73552 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff6f960583 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff6f96150e _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff6f966ace _dispatch_lane_serial_drain + 597
11 libdispatch.dylib 0x00007fff6f967452 _dispatch_lane_invoke + 363
12 libdispatch.dylib 0x00007fff6f970a9e _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff6fbc06fc _pthread_wqthread + 290
14 libsystem_pthread.dylib 0x00007fff6fbbf827 start_wqthread + 15
);

}

解决办法:

https://stackoverflow.com/questions/52424462/xcode-10-a-valid-provisioning-profile-for-this-executable-was-not-found

留下一个答复

Please enter your comment!
Please enter your name here