No code signature found, but just every other Build

Ever since updating to Xcode 12.x, have the oddest thing happening. This is for an app that exists in the App Store, and with a beta in Test Flight, so all certificates, etc are up to date. The app builds clean, and then gets the

Unable to install "My App"

alert. But ... BUT ... this only happens every other build. Build, unable to install, build (with no edits), installs and runs fine, build (with no edits), unable to install, build (with no edits), installs and runs fine, build (with no edits), unable to install, etc.

Dev acct in good standing, have restarted, Clean Build Folder, deleted Derived Data, etc, with same result just since Xcode 12.x. Any ideas on what & why are appreciated. Thank you.

Here are the details from that alert:

Details

Unable to install "My App"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
  • -

No code signature found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
User Info: {
   DVTRadarComponentKey = 261622;
   MobileDeviceErrorCode = "(0xE800801C)";
   "com.apple.dtdevicekit.stacktrace" = (
0   DTDeviceKitBase            0x0000000121c0a93f DTDKCreateNSErrorFromAMDErrorCode + 220
1   DTDeviceKitBase            0x0000000121c49124 _90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]blockinvoke + 155
2   DVTFoundation             0x00000001068e4b33 DVTInvokeWithStrongOwnership + 71
3   DTDeviceKitBase            0x0000000121c48e65 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4   IDEiOSSupportCore           0x0000000121ab9d28
118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]blockinvoke.292 + 3513
5   DVTFoundation             0x0000000106a1329a DVT
CALLINGCLIENTBLOCK + 7
6   DVTFoundation             0x0000000106a14ebc _DVTDispatchAsyncblockinvoke + 1191
7   libdispatch.dylib           0x00007fff6fba26c4
dispatchcallblockandrelease + 12
8   libdispatch.dylib           0x00007fff6fba3658 dispatchclientcallout + 8
9   libdispatch.dylib           0x00007fff6fba8c44
dispatchlaneserialdrain + 597
10  libdispatch.dylib           0x00007fff6fba95d6
dispatchlaneinvoke + 363
11  libdispatch.dylib           0x00007fff6fbb2c09 dispatchworkloopworkerthread + 596
12  libsystempthread.dylib        0x00007fff6fdfda3d pthreadwqthread + 290
13  libsystem
pthread.dylib        0x00007fff6fdfcb77 start_wqthread + 15
);
}
  • -


System Information

macOS Version 10.15.6 (Build 19G2021)
Xcode 12.1 (17222)




I've faced the same issue. Do you use Swift Package Manager? Due to the Xcode bug, libraries have a binary target cause a "code signature found" error.

For example, Firebase has same issue.
https://github.com/firebase/firebase-ios-sdk/issues/6472

I've stop to use Swift Package Manage for binary frameworks and reverted to use CocoaPod for a while.
Thanks for reply. No, I don't use Package Manager. Submitted it for Tech Support, and they said they (or I) probably couldn't do anything to resolve it, returned the TSI, and said to report it as bug. Frustrating, but ...
Hi, I am facing same issue, is there any solution to resolve this, I am using swift package manager.

Thanks in advance.

No code signature found, but just every other Build
 
 
Q