mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
* Example/Core: create macOS app/tests target * Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS * Example/Core: macOS building/tests passing * Example/Database: separate iOS/macOS targets * BuildFrameworks: macOS * .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS * test.sh: add AllUnitTests_macOS * Example/Storage: Example/Tests->_iOS * Example/Storage: macOS * test.sh: try to prevent double error 65 * test.sh: build before test * Example/Auth|Messaging: -> _iOS * Example/Auth: macOS build * Example/Auth: macOS passing * Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock * Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks * Example/Firebase: copied OCMock, prevent header removal * Example/Storage: integration tests sdk fix * Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup * Firebase/Core: remove nullability annotation * Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches * build.swift: style fix * Firebase/Core: FIRLogger: fix macOS intermittent va_list error
Build Firebase static frameworks
build.swift is a script that will build a static framework for one or more of FirebaseAuth, FirebaseCore, FirebaseDatabase, FirebaseMessaging, and FirebaseStorage.
Frameworks built with this script can be used alongside the official Firebase CocoaPods and zip distributions.
Usage
$ ./build.swift -f FirebaseAuth -f FirebaseMessaging ....
or
$ ./build.swift -all
The script will output the location of the new frameworks when it finishes the build.
Issues
-
Xcode's module cache may not properly update after a framework is replaced. The workaround is
rm -rf ~/Library/Developer/Xcode/DerivedData/ModuleCache/ -
To replace the 4.0.0 version of FirebaseDatabase, the leveldb-library pod will need to be linked in. Add
pod 'leveldb-library'to your Podfile.