Fix project and scheme names in build scripts

- Update all references from VibeTunnel-Mac.xcodeproj to VibeTunnel.xcodeproj
- Update scheme references from VibeTunnel-Mac to VibeTunnel
- These changes align the scripts with the actual project structure
This commit is contained in:
Peter Steinberger 2025-08-02 02:15:33 +02:00
parent 6986771824
commit 464d9b9923
4 changed files with 9 additions and 9 deletions

View file

@ -114,8 +114,8 @@ fi
if command -v xcbeautify &> /dev/null; then
echo "🔨 Building ARM64-only binary with xcbeautify..."
xcodebuild \
-project VibeTunnel-Mac.xcodeproj \
-scheme VibeTunnel-Mac \
-project VibeTunnel.xcodeproj \
-scheme VibeTunnel \
-configuration "$CONFIGURATION" \
$DERIVED_DATA_ARG \
-destination "platform=macOS,arch=arm64" \
@ -127,8 +127,8 @@ if command -v xcbeautify &> /dev/null; then
else
echo "🔨 Building ARM64-only binary (install xcbeautify for cleaner output)..."
xcodebuild \
-project VibeTunnel-Mac.xcodeproj \
-scheme VibeTunnel-Mac \
-project VibeTunnel.xcodeproj \
-scheme VibeTunnel \
-configuration "$CONFIGURATION" \
$DERIVED_DATA_ARG \
-destination "platform=macOS,arch=arm64" \
@ -150,7 +150,7 @@ else
if [[ -z "$APP_PATH" ]]; then
# Fallback: try to get from xcode-select
BUILT_PRODUCTS_DIR=$(xcodebuild -project VibeTunnel-Mac.xcodeproj -scheme VibeTunnel-Mac -configuration "$CONFIGURATION" -showBuildSettings | grep "BUILT_PRODUCTS_DIR" | head -n 1 | awk '{print $3}')
BUILT_PRODUCTS_DIR=$(xcodebuild -project VibeTunnel.xcodeproj -scheme VibeTunnel -configuration "$CONFIGURATION" -showBuildSettings | grep "BUILT_PRODUCTS_DIR" | head -n 1 | awk '{print $3}')
if [[ -n "$BUILT_PRODUCTS_DIR" ]]; then
APP_PATH="$BUILT_PRODUCTS_DIR/VibeTunnel.app"
fi

View file

@ -83,7 +83,7 @@ fi
# Check build configuration in project.pbxproj
echo ""
echo "5. Checking Release configuration..."
PBXPROJ="$PROJECT_DIR/VibeTunnel-Mac.xcodeproj/project.pbxproj"
PBXPROJ="$PROJECT_DIR/VibeTunnel.xcodeproj/project.pbxproj"
if [ -f "$PBXPROJ" ]; then
# This is a simple check - a more thorough check would parse the file properly

View file

@ -181,7 +181,7 @@ echo ""
# Check if Xcode project uses version.xcconfig
echo "📌 Xcode Project Configuration:"
XCODEPROJ="$PROJECT_ROOT/VibeTunnel-Mac.xcodeproj/project.pbxproj"
XCODEPROJ="$PROJECT_ROOT/VibeTunnel.xcodeproj/project.pbxproj"
if [[ -f "$XCODEPROJ" ]]; then
if grep -q "version.xcconfig" "$XCODEPROJ"; then
check_pass "Xcode project references version.xcconfig"

View file

@ -467,13 +467,13 @@ else
fi
# Check if Xcode project was modified and commit if needed
if ! git diff --quiet "$PROJECT_ROOT/VibeTunnel-Mac.xcodeproj/project.pbxproj"; then
if ! git diff --quiet "$PROJECT_ROOT/VibeTunnel.xcodeproj/project.pbxproj"; then
if [[ "$DRY_RUN" == "true" ]]; then
echo "📝 Would commit Xcode project changes"
echo " Commit message: Update Xcode project for build $BUILD_NUMBER"
else
echo "📝 Committing Xcode project changes..."
git add "$PROJECT_ROOT/VibeTunnel-Mac.xcodeproj/project.pbxproj"
git add "$PROJECT_ROOT/VibeTunnel.xcodeproj/project.pbxproj"
git commit -m "Update Xcode project for build $BUILD_NUMBER"
echo -e "${GREEN}✅ Xcode project changes committed${NC}"
fi