# The iOS app, as XcodeGen makes its project: `just ios` writes # ios/HUD.xcodeproj (and App/Info.plist) from this, both gitignored. name: HUD options: bundleIdPrefix: place.hud deploymentTarget: iOS: "17.0" createIntermediateGroups: true packages: HUDKit: path: HUDKit targets: HUD: type: application platform: iOS sources: [App] dependencies: - package: HUDKit # The gallery's sample answers, target/gallery/gallery.json from # `just gallery-data`, a resource in Debug alone (GalleryScreen's); built # without it, or in Release, the bundle has none. postBuildScripts: - name: Gallery data basedOnDependencyAnalysis: false showEnvVars: false script: | out="$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/gallery.json" given="$SRCROOT/../target/gallery/gallery.json" if [ "$CONFIGURATION" = Debug ] && [ -f "$given" ]; then cp "$given" "$out"; else rm -f "$out"; fi info: path: App/Info.plist properties: CFBundleDisplayName: HUD # The build settings' versions, which xcodegen's own (1.0, 1) would hide. CFBundleShortVersionString: $(MARKETING_VERSION) CFBundleVersion: $(CURRENT_PROJECT_VERSION) UILaunchScreen: {} UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] # A server on this machine (`just serve`) is plain http, reached from # a phone on the same network by the Mac's IPv4 address. NSAppTransportSecurity: NSAllowsLocalNetworking: true NSLocalNetworkUsageDescription: HUD reaches a HUD server on your local network, as one you run on your Mac. # A photo taken with the camera, for a form that offers it (a story's). NSCameraUsageDescription: HUD takes a photo with your camera for what you post. # A view's player plays on with the app in the background, as a web page's does. UIBackgroundModes: [audio] # An iPad app shares the screen, so it takes every orientation. UISupportedInterfaceOrientations~ipad: [UIInterfaceOrientationPortrait, UIInterfaceOrientationPortraitUpsideDown, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight] # No encryption but the system's HTTPS: App Store Connect asks nothing of a build. ITSAppUsesNonExemptEncryption: false settings: base: PRODUCT_BUNDLE_IDENTIFIER: place.hud.app MARKETING_VERSION: "1.0" CURRENT_PROJECT_VERSION: "3" SWIFT_VERSION: "6.0" TARGETED_DEVICE_FAMILY: "1,2" # App/Assets.xcassets: one 1024 px square, which iOS scales and masks. ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon CODE_SIGN_STYLE: Automatic DEVELOPMENT_TEAM: YN68LN9T7Z schemes: HUD: build: targets: HUD: all run: config: Debug test: targets: - package: HUDKit/HUDKitTests