Closed trevor-sonic closed 4 years ago
I found a few problems with this issue:
The Swift Package Manager beta started with version 6.31.0.
Usage details at https://github.com/firebase/firebase-ios-sdk/blob/master/SwiftPackageManager.md
Hi,
Setting the branch to : 6.32-spm-beta
allowed me to add Firebase into the project.
Thank you so much.
Now, I'm having the compile error message below. But I'm not sure if it is Firebase
related.
I'll update here as soon as figure it out.
Undefined symbols for architecture x86_64:
"_kFIREventLevelEnd", referenced from:
MyProject.DBConfig.(logChanges in _70FD9EC2C32030944DDEE8806FED63D7)(new: Swift.UInt64, old: Swift.UInt64) -> () in DBConfig.o
UPDATE: I remove the Firebase SPM, then app could compile and run. So the message above is related to SPM. Xcode 12 Branch version beta 6.31.0 I have no any Pod in my project. I've added ObjC in Linker I hope this info helps to trace back.
@trevor-sonic The undefined symbol linker error looks like #6425 which may be fixed in 6.33-spm-beta. Would you give that branch a try and let us know?
I tried 6.33-spm-beta
project compiled, but import Firebase
gives library not found error, so I removed again, I'll try later with next release.
Environment
Steps to reproduce:
Xcode12 -> File->Add package dependency-> https://github.com/firebase/firebase-ios-sdk.git It didn't download, gave message below.
https://github.com/firebase/firebase-ios-sdk.git has no Package.swift manifest for version 6.26.0