Skip to content

Prebuilt 7.0.1 frameworks and libraries for iOS missing bitcode #266

Closed
@Olof-IL

Description

@Olof-IL

[REQUIRED] Please fill in the following fields:

  • 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.)

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:

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

patch.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions