An app I was developing was running fine on my iPhone then after updating iOS, the app builds but does not install to the phone but works in the simulator. A message pops up saying unable to install "app name".
What I have tried
-Reinstalling Xcode
-Deleting and adding provisioning profiles
-restarting Mac and iPhone
-Create a new blank app
It still fails to install after all that I've done
Below is the details of why it fails:
Details
Unable to install "CharliNote" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653081 -- There was an internal API error. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653081 User Info: { DVTRadarComponentKey = 261622; MobileDeviceErrorCode = "(0xE8000067)"; "com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x000000012830881a DTDKCreateNSErrorFromAMDErrorCode + 233 1
DTDeviceKitBase 0x0000000128349f70 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155 2 DVTFoundation 0x000000010ef11155 DVTInvokeWithStrongOwnership + 73 3 DTDeviceKitBase
0x0000000128349ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654 4 IDEiOSSupportCore 0x00000001281c0e91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165 5 DVTFoundation 0x000000010f0447f4 __DVT_CALLING_CLIENT_BLOCK + 7 6 DVTFoundation 0x000000010f046436 __DVTDispatchAsync_block_invoke + 1194 7
libdispatch.dylib 0x00007fff67c226c4 _dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007fff67c23658 _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff67c28c44 _dispatch_lane_serial_drain + 597 10 libdispatch.dylib 0x00007fff67c295d6 _dispatch_lane_invoke + 363 11 libdispatch.dylib 0x00007fff67c32c09 _dispatch_workloop_worker_thread + 596 12 libsystem_pthread.dylib 0x00007fff67e7da3d_pthread_wqthread + 290 13 libsystem_pthread.dylib 0x00007fff67e7cb77 start_wqthread + 15 ); }
System Information
macOS Version 10.15.4 (Build 19E287) Xcode 11.5 (16139)