I am trying to build an iOS app on a device. I am able to build the project fine, but running into an issue when trying to get the app on device. When attempting to run, I am getting a Unable to install app error message from Xcode and the app is not installed on device. The detailed error message is as shown below:
Details
Unable to install "wordgame"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653179
--
Could not write to the device.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653179
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000005)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001220d793f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x0000000122116124 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x0000000106269b43 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x0000000122115e65 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x0000000121f86d28 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
5 DVTFoundation 0x00000001063982aa __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x0000000106399ecc __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff70daa6c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff70dab658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff70db0c44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff70db15d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff70dbac09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff71005a3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff71004b77 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.7 (Build 19H2)
Xcode 12.0.1 (17220)
I am a registered Apple Developer on a paid developer program. I am using the up-to-date version of macOS and Xcode.
I have tried by deleting project derived data, restarting the device, Xcode as well as the Mac. I have created a vanilla project and tried to run it on device with success, but could not do the same with my working project.
What are the steps that I can try to resolve?
