Paul Beusterien 9a90af0a97 GoogleUtilities 6.2.0 (#3097) 6 năm trước cách đây
..
AppDelegateSwizzler a9c454491c Stop conditional compilation for GoogleUtilities testing (#3058) 6 năm trước cách đây
Common 0aa81c9032 Revert "Revert "GULAppDelegateSwizzler - remote notifications methods and tvOS support (#2698)"" (#2726) 7 năm trước cách đây
Environment 9da9f866d8 Add license files for Google Utilities 3rd party code (#2767) 7 năm trước cách đây
Example 56807f383e GoogleUtilities to testspec and pod gen (#2908) 6 năm trước cách đây
ISASwizzler 829b9f557c Update the GULObjectSwizzler to handle NSProxy objects (#2053) 7 năm trước cách đây
Logger b2cd981f23 Revert "GULLogger - count errors and warnigns" (#2714) 7 năm trước cách đây
MethodSwizzler 00ff0f28db fix typo (#3086) 6 năm trước cách đây
NSData+zlib c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 năm trước cách đây
Network 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) 7 năm trước cách đây
Reachability c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 năm trước cách đây
SwizzlerTestHelpers 56c36144ab GoogleUtilities unit tests on iOS 8 (#3093) 6 năm trước cách đây
UserDefaults 8289c6ca58 Fixed macOS conditional check. (#2245) 7 năm trước cách đây
CHANGELOG.md 9a90af0a97 GoogleUtilities 6.2.0 (#3097) 6 năm trước cách đây
README.md 56807f383e GoogleUtilities to testspec and pod gen (#2908) 6 năm trước cách đây

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.