mirror of
https://github.com/yattee/yattee.git
synced 2026-02-19 17:29:45 +00:00
Yattee v2 rewrite
This commit is contained in:
15
bin/install-debug
Executable file
15
bin/install-debug
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
DEVICE_NAME="${1:-iPhone 17 Pro}"
|
||||
|
||||
echo "Building Yattee for $DEVICE_NAME..."
|
||||
|
||||
xcodebuild -project Yattee.xcodeproj -scheme "Yattee" -configuration Debug -destination "platform=iOS,name=$DEVICE_NAME" -derivedDataPath ./build build
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Installing to $DEVICE_NAME..."
|
||||
xcrun devicectl device install app --device "$DEVICE_NAME" ./build/Build/Products/Debug-iphoneos/Yattee.app
|
||||
else
|
||||
echo "Build failed"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user