Last active
August 24, 2020 12:25
-
-
Save Samywamy10/ea4f04d0548e2791d12f8c41756dd40c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - task: Cache@2 | |
| inputs: | |
| key: 'pods | "$(Agent.OS)" | Podfile.lock | Podfile | MyApp.xcodeproj/project.pbxproj' | |
| path: 'Pods' | |
| cacheHitVar: 'PODS_CACHE_RESTORED' | |
| - script: | | |
| sudo gem install cocoapods-binary | |
| xcode-select -print-path | |
| sudo xcode-select -switch '/Applications/Xcode_12_beta.app' | |
| xcode-select -print-path | |
| - task: CocoaPods@0 | |
| displayName: 'pod install using the CocoaPods task with defaults' | |
| condition: ne(variables.PODS_CACHE_RESTORED, 'true') | |
| inputs: | |
| forceRepoUpdate: false | |
| - task: Xcode@5 | |
| inputs: | |
| actions: 'build' | |
| configuration: 'Release' | |
| sdk: 'iphoneos' | |
| xcWorkspacePath: 'MyApp.xcworkspace' | |
| xcodeVersion: 'specifyPath' | |
| xcodeDeveloperDir: '/Applications/Xcode_12_beta.app' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment