Xcode 12.0.1 "No such module"

After updating to Xcode 12.0.1 I can't build my projects anymore. Each time I do I get "No such module..." for each Pod. I haven't made any other changes to the project. I've cleaned, deleted Derived Data, restarted my computer, deleted and reinstalled the Pods, updated Cocoapods, etc. Has anyone else had this issue?

Replies

18 nov 2020. M1, macOS Monterey

Have same issue but only with iOS 15 simulator. Download previous 14.5 and 13.7 iOS..

I have the same issue to an old objective c project. Runs on device but no on simultator

I find the solution for my case some minutes ago. The project was an objective c project with cocos2d framework.

Just I delete the VALID_ARCH row at User-Defined at Build Settings and the project start to build on simulator.

Hi, that worked. I open Xcode using Rosetta.

Step 1 - Installation

Homebrew(recommended)

brew install 417-72KI/tap/xcode-arch

Usage

$ xcode-arch -p
arm64 # `Open using Rosetta` is off
$ xcode-arch -c
Set x86_64 for /Applications/Xcode.app
$ xcode-arch -p
x86_64 # `Open using Rosetta` is on
$ xcode-arch -u
Set arm64 for /Applications/Xcode.app
$ xcode-arch -p
arm64 # `Open using Rosetta` is off