macos-build.sh 719 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. set -e -x
  3. # -- Check XCode version
  4. xcodebuild -version
  5. # xcrun simctl list
  6. # -- Build for macOS and upload to Azure
  7. go run build/ci.go install -dlgo
  8. go run build/ci.go archive -type tar # -signer OSX_SIGNING_KEY -upload gethstore/builds
  9. # # -- CocoaPods
  10. # gem uninstall cocoapods -a -x
  11. # gem install cocoapods
  12. # mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak
  13. # sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb
  14. # git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
  15. # pod setup --verbose
  16. # # -- Build for iOS and upload to Azure
  17. # go run build/ci.go xcode -signer IOS_SIGNING_KEY -upload gethstore/builds