Unable to load standard library for target 'arm64-apple-ios9.0'

Hi, I am using Xcode 12 beta 6 and facing the below error while compiling my code.

Unable to load standard library for target 'arm64-apple-ios9.0'

Tried Cleaning the project, quitting Xcode, & restarting MAC but no luck.

Accepted Reply

I had this problem and managed to resolve it by removing the $(VALID_ARCHS) build setting from main and CocoaPods targets.

Replies

I had this problem and managed to resolve it by removing the $(VALID_ARCHS) build setting from main and CocoaPods targets.
Hi @andrea241, I added the below in the podfile & it worked.

        config.buildsettings['EXCLUDEDARCHS'] = 'arm64'