Xcode 12 beta 3 - error compiling for Simulator

An existing framework library workspace compiles without error when targeting iOS device architecture, but when targeting Simulator I receive the following error:

Code Block
in /Users/chris/Downloads/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.ios.a(floatditf.c.o), building for iOS Simulator, but linking in object file (/Users/chris/Downloads/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.ios.a(floatditf.c.o)) built for iOS, file '/Users/chris/Downloads/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.ios.a' for architecture arm64


As this error is referencing platform code I suspect there is some flaw in the Xcode beta (I didn't have this issue with beta 2).

Has anyone else seen this?
Answered by Vertifi in 623154022
SOLVED. I was able to resolve this issue by changing build setting "Build Active Architecture Only" from No to Yes. Hope this helps anyone else that might run into this.
i get a simliar build warning for my watch os app,


Building for watchOS Simulator, but linking in object file (/Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator7.0.sdk/usr/lib/libWKExtensionMainLegacy.a(WKExtensionMainLegacy.o)) built for watchOS

sounds like its a xcode / sdk warning, i would create a FB for it, i created one for watchos
In my case I'm getting an Error not a warning, and the target is not built. I've also filed a bug report FB8116526. Thanks
oh yeah a error is more serious, but yeah i just get a warning, kinda odd, seems like a xcode / sdk issue for sure.

my FB:

FB8114253
Accepted Answer
SOLVED. I was able to resolve this issue by changing build setting "Build Active Architecture Only" from No to Yes. Hope this helps anyone else that might run into this.
Xcode 12 beta 3 - error compiling for Simulator
 
 
Q