Paul Beusterien 25d856b6ad Cherry pick GoogleUtilities 6.7.1 fix to master (#6051) 5 rokov pred
..
AppDelegateSwizzler 25d856b6ad Cherry pick GoogleUtilities 6.7.1 fix to master (#6051) 5 rokov pred
Common 8843dbfd25 Add GULSceneDelegateSwizzler (#4524) 6 rokov pred
Environment f60162efc9 Access filesystem outside of GULHeartbeatDateStorage initializer (#5977) 5 rokov pred
ISASwizzler 4c418e7fc3 GoogleUtilities repo-relative imports (#5810) 5 rokov pred
Logger 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 5 rokov pred
MethodSwizzler 4c418e7fc3 GoogleUtilities repo-relative imports (#5810) 5 rokov pred
NSData+zlib 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 5 rokov pred
Network 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 5 rokov pred
Reachability 4c418e7fc3 GoogleUtilities repo-relative imports (#5810) 5 rokov pred
SceneDelegateSwizzler 42e89d3e66 Initial check imports script (#5843) 5 rokov pred
SwizzlerTestHelpers 4c418e7fc3 GoogleUtilities repo-relative imports (#5810) 5 rokov pred
Tests 66f4afce0f Structural setup for SPM GoogleUtilities tests (#5999) 5 rokov pred
UserDefaults 4c418e7fc3 GoogleUtilities repo-relative imports (#5810) 5 rokov pred
CHANGELOG.md 25d856b6ad Cherry pick GoogleUtilities 6.7.1 fix to master (#6051) 5 rokov pred
CMakeLists.txt 77f92cd2c6 Stop using built-in CMake Framework support (#5316) 6 rokov pred
LICENSE 0dd8dda165 GoogleUtilities - Standardize imports and add LICENSE (#4655) 6 rokov pred
README.md 56807f383e GoogleUtilities to testspec and pod gen (#2908) 6 rokov pred

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.