2022-05-20 13:03:15 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e -x
|
|
|
|
|
2022-05-20 13:52:22 +00:00
|
|
|
# -- Check XCode version
|
|
|
|
xcodebuild -version
|
|
|
|
# xcrun simctl list
|
|
|
|
|
2022-05-20 13:03:15 +00:00
|
|
|
# -- Build for macOS and upload to Azure
|
|
|
|
go run build/ci.go install -dlgo
|
|
|
|
go run build/ci.go archive -type tar # -signer OSX_SIGNING_KEY -upload gethstore/builds
|
|
|
|
|
|
|
|
# # -- CocoaPods
|
|
|
|
# gem uninstall cocoapods -a -x
|
|
|
|
# gem install cocoapods
|
|
|
|
# mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak
|
|
|
|
# sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb
|
|
|
|
# git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
|
|
|
|
# pod setup --verbose
|
|
|
|
|
|
|
|
# # -- Build for iOS and upload to Azure
|
|
|
|
# go run build/ci.go xcode -signer IOS_SIGNING_KEY -upload gethstore/builds
|