I recently updated to Xcode 12, and when I try to upload an archive to App Store Connect, I see this error:
App Store Connect Operation Error
ERROR ITMS-90085: "No architectures in the binary. Lipo failed to detect any architectures in the bundle executable."
I can see that the .xcarchive's .app directory is missing an embedded framework's unix executable, whereas past successful .xcarchive files do have that executable. FWIW, BCSymbolMaps also has one less .bcsymbolmap file than usual.
I've encountered this with Xcode 12 and 12.1. I have tried removing and re-embedding the framework, which made no difference.
I addressed the issue for now by adding a build phase run script that copies the executable from ArchiveIntermediates into the .xcarchive, but was wondering if anyone has any ideas what's up with this. Is this an Xcode 12 bug?
App Store Connect Operation Error
ERROR ITMS-90085: "No architectures in the binary. Lipo failed to detect any architectures in the bundle executable."
I can see that the .xcarchive's .app directory is missing an embedded framework's unix executable, whereas past successful .xcarchive files do have that executable. FWIW, BCSymbolMaps also has one less .bcsymbolmap file than usual.
I've encountered this with Xcode 12 and 12.1. I have tried removing and re-embedding the framework, which made no difference.
I addressed the issue for now by adding a build phase run script that copies the executable from ArchiveIntermediates into the .xcarchive, but was wondering if anyone has any ideas what's up with this. Is this an Xcode 12 bug?