diff options
author | George Miller <George@livio.io> | 2022-05-17 15:54:49 -0400 |
---|---|---|
committer | George Miller <George@livio.io> | 2022-05-17 15:54:49 -0400 |
commit | f1843a1e2e2af477ab3a43c2f5d202a1713bb1f2 (patch) | |
tree | 3a9781ee47a22b942a77792c165078495070015c | |
parent | 5a0a93e9a925764444165287f65efd1c3be129f1 (diff) | |
download | sdl_ios-f1843a1e2e2af477ab3a43c2f5d202a1713bb1f2.tar.gz |
initial script
-rwxr-xr-x | scripts/phase1.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/phase1.sh b/scripts/phase1.sh new file mode 100755 index 000000000..9932f15b2 --- /dev/null +++ b/scripts/phase1.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# George Miller +# 05-17-2022 +# If you don't have permission to run, try: chmod u+x phase1.sh +# numbering in comments is per https://github.com/smartdevicelink/sdl_ios/wiki/Release-Steps + +echo "Zug Zug" + +# 2 push new release to primary cocoapod +echo "2 push new release to primary Cocoapod" +pod trunk push SmartDeviceLink.podspec --allow-warnings + +# 3 Push the new release to the secondary cocoapod using command line: +echo "3 Push the new release to the secondary cocoapod using command line:" +pod trunk push SmartDeviceLink-iOS.podspec --allow-warnings. + +# 4 add binary xcframework archive for manual installation +echo "4 add binary xcframework archive for manual installation" +# i +echo "4.i" +xcodebuild archive -project 'SmartDeviceLink-iOS.xcodeproj/' -scheme 'SmartDeviceLink' -configuration Release -destination 'generic/platform=iOS' -archivePath './SmartDeviceLink-Device.xcarchive' SKIP_INSTALL=NO + +# ii +echo "4.ii" +xcodebuild archive -project 'SmartDeviceLink-iOS.xcodeproj/' -scheme 'SmartDeviceLink' -configuration Release -destination 'generic/platform=iOS Simulator' -archivePath './SmartDeviceLink-Simulator.xcarchive' SKIP_INSTALL=NO + +# iii +echo "4.iii" +xcodebuild -create-xcframework -framework './SmartDeviceLink-Device.xcarchive/Products/Library/Frameworks/SmartDeviceLink.framework/' -framework './SmartDeviceLink-Simulator.xcarchive/Products/Library/Frameworks/SmartDeviceLink.framework/' -output './SmartDeviceLink.xcframework' + +echo "Work Complete"
\ No newline at end of file |