Travis Prescott редактировал(а) эту страницу 2021-04-26 12:25:10 -07:00
Run pod install to 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-headers from the root of the SDK repo. This means that you must publish AzureCore first, then any specs that only depend on AzureCore, 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.