Project Setup (Spec 01): - Configure iOS 17.0 deployment target - Add photo library usage descriptions - Create proper folder structure (App, Features, Services, Models, Utilities) Data Model (Spec 02): - Add EditOperation enum with mask, inpaint, adjustment cases - Add MaskOperation, InpaintOperation structs (Codable) - Add Project model with operation stack and undo/redo support - Add MaskData with dilation support via vImage Services (Specs 03-05): - Add InpaintEngine with Metal + Accelerate fallback - Add MaskingService wrapping Vision framework - Add ContourService for wire/line detection and scoring UI Components (Specs 06-08): - Add PhotoEditorView with photo picker integration - Add CanvasView with pinch-to-zoom and pan gestures - Add ToolbarView with tool selection and inspector panel Utilities: - Add ImagePipeline for preview/export rendering - Add EdgeRefinement for smart brush edge detection - Add check_build.sh for CI verification Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
686 B
Bash
Executable File
27 lines
686 B
Bash
Executable File
#!/bin/zsh
|
|
set -o pipefail # Fail if xcodebuild fails, even with xcbeautify
|
|
|
|
# --- Configuration ---
|
|
SCHEME="CheapRetouch"
|
|
BUILD_PATH="./build"
|
|
|
|
echo "🔍 Checking compilation for $SCHEME..."
|
|
|
|
# Build Only (No Install/Launch)
|
|
# We use 'env -u' to hide Homebrew variables
|
|
# We use '-derivedDataPath' to keep it isolated
|
|
env -u CC -u CXX -u LIBCLANG_PATH xcodebuild \
|
|
-scheme "$SCHEME" \
|
|
-destination "platform=iOS Simulator,name=iPhone 17 Pro" \
|
|
-configuration Debug \
|
|
-derivedDataPath "$BUILD_PATH" \
|
|
build | xcbeautify
|
|
|
|
# Check exit code of the pipeline
|
|
if [ $? -eq 0 ]; then
|
|
echo "✅ Build Succeeded. No errors found."
|
|
else
|
|
echo "❌ Build Failed."
|
|
exit 1
|
|
fi
|