Some things I’ve tried:ld: in [path]/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSInternalReport.o), building for iOS Simulator, but linking in object file ([path]/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSInternalReport.o)) built for iOS, file '[path]/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics' for architecture arm64
Confirmed that xcodebuild is using the Xcode 12 beta toolchain (xcode-select -p == /Applications/Xcode-beta.app/Contents/Developer)
Update CocoaPods to 1.10.0.beta.2, their first release with Xcode 12 support
Force the IPHONEOS_DEPLOYMENT_TARGET of all pods to iOS 13, our base supported SDK
Force ONLY_ACTIVE_ARCH to YES for all pods
Set ARCHS to $(ARCHS_STANDARD) for all pods
Set EXCLUDED_ARCHS to arm64 for all pods and the app project
Searched these dev forums for similar arm64 errors
Code Block xcodebuild -workspace "App.xcworkspace" -scheme "SomeScheme" -configuration "Debug" -sdk "iphonesimulator" -destination "generic/platform=iOS Simulator" SYMROOT=./builds clean build
Any ideas? I can’t seem to find the build plan that Xcode uses. I wonder if there’s some kind of environment variable being set when Xcode builds that I’m missing in my hand-typed command.
Without defining SYMROOT the project builds and archives as expected. I still haven’t figured out how to override the archive destination, though.