The same project compiles fine on my Intel MacBook pro, but on my M1 Pro running Sonoma and Xcode 15 RC, it gives No such module 'FirebaseDatabase' error.
Here is how my pod file looks like:
I made sure the Minimum Deployments is 13.0 on all firebase pods:
I can't use swift package manager for these dependencies because GeoFire would cause problems.



I solved the problem by removing

arm64from Excluded ArchitecturesI think Xcode 15 added this automatically for the simulator to work on Apple silicon M1 machines in projects with CocoaPods dependencies.
Also worth mentioning that I faced other problems, but were fixed using
pod updateand NOTpod install