Hello,
I am aware that it seems like a simple problem but in a project / apple id I have the problem that it gives me the error:
Has it happened to anybody?
It seems like a certificate issue on the machine and that XCode selects an old one. On another mac, the same project, with the same accounts, it is working correctly
Attached details of the error:
Details
Unable to install "MyApp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620392
Recovery Suggestion: The certificate used to sign "AmericanIdol-tel" has either expired or has been revoked. An updated certificate is required to sign and install the application.
The identity used to sign the executable is no longer valid.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620392
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008018)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000012b961c8f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x000000012b9a0241 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]blockinvoke + 155
2 DVTFoundation 0x000000011008564b DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x000000012b99ff82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x000000012b810a10 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]blockinvoke.292 + 3513
5 DVTFoundation 0x00000001101b417e DVTCALLINGCLIENTBLOCK + 7
6 DVTFoundation 0x00000001101b5da0 _DVTDispatchAsyncblockinvoke + 1191
7 libdispatch.dylib 0x00007fff6758d6c4 dispatchcallblockandrelease + 12
8 libdispatch.dylib 0x00007fff6758e658 dispatchclientcallout + 8
9 libdispatch.dylib 0x00007fff67593c44 dispatchlaneserialdrain + 597
10 libdispatch.dylib 0x00007fff675945d6 dispatchlaneinvoke + 363
11 libdispatch.dylib 0x00007fff6759dc09 dispatchworkloopworkerthread + 596
12 libsystempthread.dylib 0x00007fff677e8a3d pthreadwqthread + 290
13 libsystempthread.dylib 0x00007fff677e7b77 startwqthread + 15
);
}
System Information
macOS Version 10.15.7 (Build 19H114)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-01-15T09:53:53+01:00
I am aware that it seems like a simple problem but in a project / apple id I have the problem that it gives me the error:
The certificate used to sign "***" has either expired or has been revoked. An updated certificate is required to sign and install the application.
I have updated the certificate.
I have removed old certificates from the keyChain.
I have removed the account (apple id) from XCode and reloaded the provisioning profiles.
In the tab 'Sign & Capabilities' it tells me that tot is OK.
I have tried to force the correct PP and Certificate to be used (although it automatically already selects them fine).
I have reinstalled XCode.
Rebooted the machine several times (Currently using 12.3).
Has it happened to anybody?
It seems like a certificate issue on the machine and that XCode selects an old one. On another mac, the same project, with the same accounts, it is working correctly
Attached details of the error:
Details
Unable to install "MyApp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620392
Recovery Suggestion: The certificate used to sign "AmericanIdol-tel" has either expired or has been revoked. An updated certificate is required to sign and install the application.
The identity used to sign the executable is no longer valid.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620392
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008018)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000012b961c8f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x000000012b9a0241 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]blockinvoke + 155
2 DVTFoundation 0x000000011008564b DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x000000012b99ff82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x000000012b810a10 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]blockinvoke.292 + 3513
5 DVTFoundation 0x00000001101b417e DVTCALLINGCLIENTBLOCK + 7
6 DVTFoundation 0x00000001101b5da0 _DVTDispatchAsyncblockinvoke + 1191
7 libdispatch.dylib 0x00007fff6758d6c4 dispatchcallblockandrelease + 12
8 libdispatch.dylib 0x00007fff6758e658 dispatchclientcallout + 8
9 libdispatch.dylib 0x00007fff67593c44 dispatchlaneserialdrain + 597
10 libdispatch.dylib 0x00007fff675945d6 dispatchlaneinvoke + 363
11 libdispatch.dylib 0x00007fff6759dc09 dispatchworkloopworkerthread + 596
12 libsystempthread.dylib 0x00007fff677e8a3d pthreadwqthread + 290
13 libsystempthread.dylib 0x00007fff677e7b77 startwqthread + 15
);
}
System Information
macOS Version 10.15.7 (Build 19H114)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-01-15T09:53:53+01:00
SOLVED
I added, along with multiple other changes, an XCFramework.
I marked it as "Embed Without Signing" instead of "Embed & Sign", a day wasted by this detail. (It was my fault completely).
It would have been good if the detail of the error indicated a better reason for it.
Hope this can help other people.
I added, along with multiple other changes, an XCFramework.
I marked it as "Embed Without Signing" instead of "Embed & Sign", a day wasted by this detail. (It was my fault completely).
It would have been good if the detail of the error indicated a better reason for it.
Hope this can help other people.