Permalink
Switch branches/tags
Nothing to show
Find file
cf4b786 Mar 27, 2017
executable file 23 lines (15 sloc) 374 Bytes
#!/bin/bash
NAME='Touch Bar Simulator'
rm -r Release 2>/dev/null
xcodebuild archive \
-scheme "$NAME" \
-archivePath Release/App.xcarchive
xcodebuild \
-exportArchive \
-archivePath Release/App.xcarchive \
-exportOptionsPlist export-options.plist \
-exportPath Release
cd Release
rm -r App.xcarchive
# Prerequisite: npm i -g create-dmg
create-dmg "${NAME}.app"