-
Notifications
You must be signed in to change notification settings - Fork 100
Publishing Cocoapods
Travis Prescott edited this page Apr 26, 2021
·
4 revisions
- Run
pod installto ensure the Pods project is up to date. - Ensure you are at the root directory of the repo.
- Ensure that all podspecs (
*.podspec.json) are updated with the current SDK version. - Ensure that you have an active CocoaPods trunk session with
pod trunk me. If you do not, you need to register a new session with the following command:pod trunk register <cocoapods email address> 'Microsoft Corporation' --description='<description of session e.g. brsiegel macbook>' - Publish the podspecs in dependency order with
pod trunk push <podspec> --synchronous --use-modular-headersfrom the root of the SDK repo. This means that you must publishAzureCorefirst, then any specs that only depend onAzureCore, then any specs that depend on those specs, and so on. Note: the first time you run this command, CocoaPods will pull the full history of the entire trunk Specs repo which will take a few minutes.