Search code examples
iosfirebasecocoapodsgeofirexcode15

Xcode 15: No such module 'FirebaseDatabase'


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.

enter image description here

Here is how my pod file looks like:

enter image description here

I made sure the Minimum Deployments is 13.0 on all firebase pods:

enter image description here

I can't use swift package manager for these dependencies because GeoFire would cause problems.


Solution

  • I solved the problem by removing arm64 from Excluded Architectures enter image description here enter image description here

    I 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 update and NOT pod install