skip to Main Content

I’ve been trying to import updated libraries to my Xcode Project. I have dowloaded the libraries from the official firebase site. I had multiple options but the developer of my App used manually import on the previous libraries. So I couldn’t use cocoappos or nothing like it. Now Xcode is not finding the modules on my .swift classes when I import. But it shows them on the project navigator as libraries.

I tried relocating the .xcframework files to a folder named frameworks. Didn’t work.
I tried understanding the file firebase.h and I cant figure out what it does.
I tried importing multiple libraries, it recognises some but others it doesn’t.
For example No such module ‘FirebaseMessaging’.

2

Answers


  1. Chosen as BEST ANSWER

    Just use the Swift Package Manager with the specific version for your Xcode. It will avoid many headaches.


  2. You can use cocoa pods for Firebase, it will not create problems with existing manually added frameworks until and unless the same framework is added twice(already added manually)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search