Neon-Vision-Editor/scripts/archive_testflight.sh
h3p 0945b23b01 Improve editor UX across iOS, iPadOS, and macOS
iOS
- Keep compact, phone-appropriate toolbar behavior
- Improve toolbar/menu responsiveness and action access consistency
- Include mobile editor parity fixes (syntax highlighting and line-number visibility)

iPadOS
- Make toolbar width adaptive to device/screen size
- Keep toolbar height compact (matching iPhone-style vertical density)
- Distribute toolbar controls across available width
- Promote key overflow actions to visible toolbar buttons when space allows
  (open/save, sidebar toggles, find/replace, wrap, completion), with overflow fallback
- Use active UIWindowScene screen bounds for width calculation (deprecation-safe)

macOS
- Keep full toolbar + menubar action coverage aligned
- Preserve desktop toolbar behavior while iOS/iPadOS layouts diverge
- Retain platform-specific toolbar/menu polish without regressions
2026-02-07 11:51:52 +01:00

25 lines
934 B
Bash
Executable file

#!/bin/zsh
set -euo pipefail
PROJECT="Neon Vision Editor.xcodeproj"
SCHEME="Neon Vision Editor"
CONFIGURATION="Release"
EXPORT_OPTIONS="release/ExportOptions-TestFlight.plist"
ARCHIVE_PATH="build/NeonVisionEditor.xcarchive"
EXPORT_PATH="build/TestFlightExport"
mkdir -p build
echo "==> Cleaning"
xcodebuild -project "$PROJECT" -scheme "$SCHEME" -configuration "$CONFIGURATION" clean
echo "==> Archiving"
xcodebuild -project "$PROJECT" -scheme "$SCHEME" -configuration "$CONFIGURATION" -destination 'generic/platform=iOS' -archivePath "$ARCHIVE_PATH" archive
echo "==> Exporting IPA"
xcodebuild -allowProvisioningUpdates -exportArchive -archivePath "$ARCHIVE_PATH" -exportPath "$EXPORT_PATH" -exportOptionsPlist "$EXPORT_OPTIONS"
echo "==> Done"
echo "Archive: $ARCHIVE_PATH"
echo "Export: $EXPORT_PATH"
echo "Next: Open Organizer in Xcode and distribute/upload to TestFlight, or use Transporter with the IPA from $EXPORT_PATH"