You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre-built SDK from the website or open-source from this repo: Pre-built SDK
Firebase C++ SDK version: 7.0.1
Problematic Firebase Component: App,Auth,Firestore,Analytics,Messaging,Storage (probably all of them)
Other Firebase Components in use: Same as above
Platform you are using the C++ SDK on: Mac
Platform you are targeting: iOS
[REQUIRED] Please describe the issue here:
Libraries missing BITCODE support. I get this error from ld for both the static library and framework versions:
ld: '../Dependencies/firebase_cpp/libs/ios/universal/libfirebase_app.a(util_ios.mm.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '../Dependencies/firebase_cpp/libs/ios/universal/libfirebase_app.a' for architecture arm64
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Updated Pods to 7.0.0
Also increased platform to 11.0 since it refused to download pods with too low platform version.
Replaced firebase_cpp_sdk with latest Prebuilt 7.0.1
Try build with XCode (I used the firestore test-app since I had it up and running since before)
Result:
ld: '../../firebase_cpp_sdk/frameworks/ios/arm64/firebase.framework/firebase(util_ios.mm.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '../../firebase_cpp_sdk/frameworks/ios/arm64/firebase.framework/firebase'
Relevant Code:
No code change from quickstart app, except minor build fixes. Attaching patch with all my changes from master branch of quickstart app
As a workaround I've disabled bitcode for my target for now. Not sure how much of an issue this is, bitcode still seems to be optional for iOS, but the last version (6.16.1) didn't have any issues with bitcode support.
I also noticed right now that the remote_config libraries seem to have bitcode enabled in 7.0.1, just thought I should mention that.
It looks like this might have been a misconfiguration in when building the latest SDK, and it's intended that bitcode should work. I'll mark this as a bug, but if this is a blocker for you now (ie: you're building for tvOS or watchOS), you might have luck building from the source on this repo.
Thanks for letting us know about this issue. A fix (#276) has been merged into our development branch and will be included in the next binary SDK release.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
Libraries missing BITCODE support. I get this error from ld for both the static library and framework versions:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:
Just try to build using the latest prebuilt SDK.
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
YES!
What's the issue repro rate? (eg 100%, 1/5 etc).
100%
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Updated Pods to 7.0.0
Also increased platform to 11.0 since it refused to download pods with too low platform version.
Replaced firebase_cpp_sdk with latest Prebuilt 7.0.1
Try build with XCode (I used the firestore test-app since I had it up and running since before)
Result:
Relevant Code:
No code change from quickstart app, except minor build fixes. Attaching patch with all my changes from master branch of quickstart app
patch.txt
The text was updated successfully, but these errors were encountered: