Skip to content

iOS: How to build universal libs #13

Closed
@frankosterfeld

Description

@frankosterfeld

The release builds available at https://firebase.google.com/download/cpp contain universal builds for iOS, supporting both arm64 and x86_64, among others.

For easier debugging of a firebase-based app in the iOS simulator, I'd like to do an x86_64 or even better "universal" debug build of firebase-cpp-sdk. The iOS instructions in the README are using a CMake toolchain file that only builds for arm64. Trying to replace "arm64" by "x86_64" in the toolchain file already fails when building flatbuffers.

Could you please document how to compile firebase-cpp-sdk for iOS/x86_64?
Ideally I would like to be able to reproduce the iOS part of the official .zip, just with -DCMAKE_BUILD_TYPE=Debug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions