I wanted to start messing around with the new Firestore from Firebase in my iOS app. Since they recommend using Cocoapods, part of my rake file looks like this:
pod "Firebase/Core", "4.8.0"
pod "Firebase/Database", "4.8.0"
pod "Firebase/Auth", "4.8.0"
pod "Firebase/Storage", "4.8.0"
Everything compiles and works great. Now to add Firestore support, I would throw this in the app.pods section:
pod "Firebase/Firestore", "4.8.0"
Installing the new pod works but during the Rake I'm getting an error:
duplicate symbol _main in:
ld: 1 duplicate symbol for architecture i386
It seems that BoringSSL is the issue and I can confirm this by creating a blank app with
motion create, adding cocoapods and then adding BoringSSL by itself:
pod "BoringSSL", "9.1"
After a rake I end up with the same error. After searching for
duplicate symbol errors around the web most of the time it's because the pod is conflicting with another pod. But as you can see from the above, BoringSSL is by itself in this case.
1. Has anyone successfully got the new (4.8) Firebase/Firestore going in RM?
2. ...or does anyone have any ideas on how to further troubleshoot the BoringSSL issue?