Add an iPhone client sharing the macOS app's SwiftUI code
This commit is contained in:
@@ -3,6 +3,9 @@ set -eu
|
||||
mac=$(cd "$(dirname "$0")" && pwd)
|
||||
|
||||
"$mac/package.sh"
|
||||
"$mac/phone.sh"
|
||||
rm -rf "$mac/.build/phone/iphoneos/export"
|
||||
xcodebuild -exportArchive -archivePath "$mac/.build/phone/iphoneos/Byre.xcarchive" -exportOptionsPlist "$mac/phone/export.plist" -exportPath "$mac/.build/phone/iphoneos/export" -allowProvisioningUpdates
|
||||
version=$(plutil -extract CFBundleShortVersionString raw "$mac/.build/Byre.app/Contents/Info.plist")
|
||||
dmg=$mac/.build/release/$version/byre-$version.dmg
|
||||
"$mac/install.sh" "$dmg"
|
||||
|
||||
Reference in New Issue
Block a user