Paul Beusterien e78965e88e Fix Xcode 9 too complex error in build.swift (#369) 8 лет назад
..
FrameworkMaker.xcodeproj 76ac74b915 Updates to the manual build process for CocoaPods 1.3.1 (#204) 8 лет назад
Podfile 5c59342e6e macOS (#38) 8 лет назад
README.md cfef233f39 Document minimum CocoaPods version for BuildFrameworks (#272) 8 лет назад
build.swift e78965e88e Fix Xcode 9 too complex error in build.swift (#369) 8 лет назад
iOS-Info.plist 5c59342e6e macOS (#38) 8 лет назад
macOS-Info.plist 5c59342e6e macOS (#38) 8 лет назад

README.md

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

The CocoaPods version must be at least 1.3.1.

$ pod --version
$ ./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.