xieguangming fa2033fcf8 海外广告sdk(新改的UI登录界面) commit | 3 years ago | |
---|---|---|
.. | ||
GoogleDataTransport | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago |
This library is for internal Google use only. It allows the logging of data and telemetry from Google SDKs.
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 GoogleDataTransport.podspec
Gemfile
git tag {version}
git push origin {version}
pod trunk push GoogleDataTransport.podspec
Import GoogleDataTransport
module:
import GoogleDataTransport
Set logging level global variable to the desired value before calling FirebaseApp.config()
:
GDTCORConsoleLoggerLoggingLevel = GDTCORLoggingLevel.debug.rawValue
Import GoogleDataTransport
:
#import <GoogleDataTransport/GoogleDataTransport.h>
Set logging level global variable to the desired value before calling -[FIRApp config]
:
GDTCORConsoleLoggerLoggingLevel = GDTCORLoggingLevelDebug;
gem install --user cocoapods cocoapods-generate
brew install protobuf nanopb-generator
easy_install --user protobuf
generate_project.sh
after installing the prereqspython -c "line='https://www.firebase.com'; print line[0::2]"
python -c "line='https://www.firebase.com'; print line[1::2]"
Ensure that you have at least the following software:
For the pod that you want to develop:
pod gen GoogleDataTransport.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 GoogleDataTransport.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 for more information on contributing to the Firebase iOS SDK.
The contents of this repository is licensed under the Apache License, version 2.0.