When I archive my iOS app in Xcode 10 and then validate, I get this error:
ERROR ITMS-90085: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.”
I have checked the executable with lipo and I can see that both arm architectures are present. I have Googled around and tried a few other things associated with this error: I checked that all Product Names are set correctly, I have verified that no static libs are being embedded in a framework, I checked that all CFBundleExecutable values for Frameworks' Info.plist files match up to their respective binaries.
I also tried archiving and validating in Xcode 9. That passes validation. I also tried validating that Xcode 9 archive with Xcode 10, that also passes!
So it seems that something is different with how Xcode 10 makes archives, or how it validates them. How do I fix this? The error message is completely unhelpful.