The maximum number of apps for free development profiles has been reached
I have read many other same problems from the forum while still cannot find a solution for me.
Details
Unable to install "myapp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620383
--
The maximum number of apps for free development profiles has been reached.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620383
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008021)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011b1f281a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x000000011b233f70 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x00000001004f5155 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x000000011b233ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x000000011b0e2e91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165
5 DVTFoundation 0x00000001006287f4 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010062a436 __DVTDispatchAsync_block_invoke + 1194
7 libdispatch.dylib 0x00007fff6a7876c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff6a788658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff6a78dc44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff6a78e5d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff6a797c09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff6a9e2a3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff6a9e1b77 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.4 (Build 19E287)
Xcode 11.5 (16139)
Above is the error message Xcode gives me. I am using Xcode 11.5 (11E608c) on OSX 10.15.4 of a 2019 Macbook Pro 16 inch. The testing iOS device is a iPhone X running iOS 13.5.
I have tried deleting the provisioning profile and test apps on my phone by the Window - Devices and Simulators of Xcode, unpair my phone and reconnect, and reboot Macbook and phone. The same issue remains. Starting a new project from scratch still leads to the same problem.
I have found that this is a bug introduced by Xcode 11.4 release notes, except the 'workaround' does not solve my problem.
My Apple ID is not enrolled in the Apple Developer Program, but switching to a new Apple ID (which I just registered) in the Xcode preference does not solve this problem.
Thanks for your help in advance.
iPhone X, iOS 13