Vinay Guthal f529da0ef4 Add function to gul secure encoding to encode multiple calsses (#4282) %!s(int64=6) %!d(string=hai) anos
..
AppDelegateSwizzler 080397209e Add explicit Foundation import. (#3309) %!s(int64=6) %!d(string=hai) anos
Common 080397209e Add explicit Foundation import. (#3309) %!s(int64=6) %!d(string=hai) anos
Environment 9da9f866d8 Add license files for Google Utilities 3rd party code (#2767) %!s(int64=7) %!d(string=hai) anos
Example f529da0ef4 Add function to gul secure encoding to encode multiple calsses (#4282) %!s(int64=6) %!d(string=hai) anos
ISASwizzler 6038d5a236 Mark unused variables (#3854) %!s(int64=6) %!d(string=hai) anos
Logger 563854e81e Copy component container to GoogleUtilitiesComponents (#4113) %!s(int64=6) %!d(string=hai) anos
MethodSwizzler 00ff0f28db fix typo (#3086) %!s(int64=6) %!d(string=hai) anos
NSData+zlib c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) %!s(int64=7) %!d(string=hai) anos
Network c295991955 Fix Networking to receive data for POST requests (#3940) %!s(int64=6) %!d(string=hai) anos
Reachability 080397209e Add explicit Foundation import. (#3309) %!s(int64=6) %!d(string=hai) anos
SecureCoding f529da0ef4 Add function to gul secure encoding to encode multiple calsses (#4282) %!s(int64=6) %!d(string=hai) anos
SwizzlerTestHelpers 56c36144ab GoogleUtilities unit tests on iOS 8 (#3093) %!s(int64=6) %!d(string=hai) anos
UserDefaults 3cd9695012 GULUserDefaults clear for all archs (#3544) %!s(int64=6) %!d(string=hai) anos
CHANGELOG.md 09f3f6c6a3 Fix unit testing crash with localization on (#3933) %!s(int64=6) %!d(string=hai) anos
CMakeLists.txt 766e8723d7 Rework CMake builds of Firebase Frameworks (#3499) %!s(int64=6) %!d(string=hai) anos
README.md 56807f383e GoogleUtilities to testspec and pod gen (#2908) %!s(int64=6) %!d(string=hai) anos

README.md

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.