* Use early exit in objc_framework CMakeLists.txt * Clean up objc_framework CMakeLists.txt * Use `version` consistently * Use `firebase_ios_version` for the repo-level version * Remove INCLUDE directories that are no longer needed * Sort dependencies * Simplify Example/App/CMakeLists.txt * Add `OBJC_FLAGS` directly, avoiding a separate `sources` variable. * Add resources directly * Rename test host app to firebase_firestore_example_app * Add a firebase_ios prefix to functions and variables This reduces the chance of collision with other projects. * Simplify compiler_setup Now that compiler_setup.cmake no longer has side-effects, fold compiler_id.cmake and archive_options.cmake into it and move the include of compiler_setup up to the top of the main build.
Google Utilities
Overview
The GoogleUtilities pod is a set of utilities organized into CocoaPods subspecs. See the podspec for a summary of what utilities are currently included. They're used by Firebase and other Google products.
Direct usage by non-Google products and CocoaPods is NOT currently recommended or supported in general.
However, we do specifically recommend that non-Google SDKs can use the App Delegate Swizzler to hook into app delegate methods as this reduces conflicts with multiple SDKs trying to do the same.
Instructions on how to adopt the app delegate swizzler for use by your SDK are available here.
Development
Follow the subsequent instructions to develop, debug, unit test, and integration test FirebaseFunctions:
Prereqs
- At least CocoaPods 1.7.0
To Develop
- Run
pod gen GoogleUtilities.podspec open gen/GoogleUtilities/GoogleUtilities.xcworkspace
OR these two commands can be combined with
pod gen GoogleUtilities.podspec --auto-open --gen-directory="gen" --clean
You're now in an Xcode workspace generate for building, debugging and testing the GoogleUtilities CocoaPod.
Running Unit Tests
Choose the one of the Tests* schemes and press Command-u.