Maksym Malyhin 2385785692 Release 7.1.0 cherry picks (#6917) 5 лет назад
..
AppDelegateSwizzler 2385785692 Release 7.1.0 cherry picks (#6917) 5 лет назад
Common 8843dbfd25 Add GULSceneDelegateSwizzler (#4524) 6 лет назад
Environment b6ad6aea39 Firebase user agent: add iOS on mac platform (#6799) 5 лет назад
ISASwizzler 13beb58fa1 Refactor GULSwizzledObject to ARC to unblock SwiftPM support (#5862) 5 лет назад
Logger 00be38c556 Don't allow logger version deallocation (#6719) 5 лет назад
MethodSwizzler f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 5 лет назад
NSData+zlib f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 5 лет назад
Network 19159a4b25 Fix tvOS storage issues. (#6658) 5 лет назад
Reachability f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 5 лет назад
SwizzlerTestHelpers f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 5 лет назад
Tests 2385785692 Release 7.1.0 cherry picks (#6917) 5 лет назад
UserDefaults f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 5 лет назад
CHANGELOG.md 2385785692 Release 7.1.0 cherry picks (#6917) 5 лет назад
CMakeLists.txt f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 5 лет назад
LICENSE 0dd8dda165 GoogleUtilities - Standardize imports and add LICENSE (#4655) 6 лет назад
README.md 56807f383e GoogleUtilities to testspec and pod gen (#2908) 6 лет назад

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.