xieguangming 1a878f1d07 海外广告代码commit | преди 3 години | |
---|---|---|
.. | ||
GoogleUtilities | преди 3 години | |
LICENSE | преди 3 години | |
README.md | преди 3 години |
GoogleUtilities provides a set of utilities for Firebase and other Google SDKs for Apple platform development.
The utilities are not directly supported for non-Google library usage.
These instructions apply to minor and patch version updates. Major versions need a customized adaptation.
After the CI is green:
git tag CocoaPods-{version}
git push origin CocoaPods-{version}
pod repo push staging GoogleUtilities.podspec
Gemfile
third_party/firebase/ios/Releases/run_copy_bara.py --directory GoogleUtilities
git tag {version}
git push origin {version}
pod trunk push GoogleUtilities.podspec
To develop in this repository, ensure that you have at least the following software:
For the pod that you want to develop:
pod gen GoogleUtilities.podspec --local-sources=./ --auto-open --platforms=ios
Note: If the CocoaPods cache is out of date, you may need to run
pod repo update
before the pod gen
command.
Note: Set the --platforms
option to macos
or tvos
to develop/test for
those platforms. Since 10.2, Xcode does not properly handle multi-platform
CocoaPods workspaces.
pod gen GoogleUtilities.podspec --local-sources=./ --auto-open --platforms=ios
Alternatively disable signing in each target:
+
Add User-Defined Setting
CODE_SIGNING_REQUIRED
setting with a value of NO
To ensure that the code is formatted consistently, run the script ./scripts/check.sh before creating a PR.
GitHub Actions will verify that any code changes are done in a style compliant
way. Install clang-format
and mint
:
brew install clang-format@11
brew install mint
Select a scheme and press Command-u to build a component and run its unit tests.
See Contributing.
The contents of this repository is licensed under the Apache License, version 2.0.