simulator := "platform=iOS Simulator,name=iPhone 17e,OS=latest"
derived_data := "build/DerivedData"

default:
  @just build

build:
  if command -v xcbeautify >/dev/null 2>&1; then \
    xcodebuild -project SBrowser.xcodeproj -scheme Attractor -destination '{{simulator}}' | xcbeautify; \
  else \
    xcodebuild -project SBrowser.xcodeproj -scheme Attractor -destination '{{simulator}}'; \
  fi

beta:
  bundle exec fastlane ios beta

setup-signing:
  bundle exec fastlane ios setup_signing
