this was happened while I am using iphone6 of ios 8.1 to install and debug myapp.
xcode version 11.3
Achitectures setting Stadard achitectures.
valid architextures : arm64 arm64e armv6 armv7s.
I know that iphone6's cpu type is arm64,why comes this error?
it runs normally on my iphone7 plus with ios 13.3.
Unable to install "myapp"
Domain: com.apple.dtdevicekit
Code: -402653049
--
App installation failed
Domain: com.apple.dtdevicekit
Code: -402653049
Failure Reason: This application does not support this device’s CPU type.
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001213d96e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x00000001213d9de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x000000012141956a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
3 DVTFoundation 0x000000010655cc22 DVTInvokeWithStrongOwnership + 73
4 DTDeviceKitBase 0x0000000121419301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
5 IDEiOSSupportCore 0x00000001212a1a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
6 DVTFoundation 0x000000010668de8a __DVT_CALLING_CLIENT_BLOCK__ + 7
7 DVTFoundation 0x000000010668f562 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff5bc785f8 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff5bc7963d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff5bc7f8e0 _dispatch_lane_serial_drain + 602
11 libdispatch.dylib 0x00007fff5bc80396 _dispatch_lane_invoke + 385
12 libdispatch.dylib 0x00007fff5bc886ed _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff5beb9611 _pthread_wqthread + 421
14 libsystem_pthread.dylib 0x00007fff5beb93fd start_wqthread + 13
);
}