stahl/ios/project.yml
Markus Zoppelt 861aeff248 feat(ios): install on a real iPhone or iPad
- ios/install-device.sh builds the Rust library in the flake's shell, signs
  with Xcode through a project xcodegen generates from ios/project.yml, then
  installs and launches with devicectl.
- The bundle id comes from the build, since a bundle id belongs to one team.
2026-11-09 09:55:45 +01:00

30 lines
1 KiB
YAML

# The Xcode project, generated by ios/install-device.sh: Xcode is only here to sign for a device.
name: Stahl
options:
deploymentTarget: { iOS: "17.0" }
createIntermediateGroups: true
targets:
Stahl:
type: application
platform: iOS
sources:
- Shell
- path: ../assets/door.png
buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: $(STAHL_BUNDLE_ID)
INFOPLIST_FILE: Shell/Info.plist
GENERATE_INFOPLIST_FILE: NO
CODE_SIGN_STYLE: Automatic
SWIFT_VERSION: "5.0"
SWIFT_OBJC_BRIDGING_HEADER: Shell/stahl.h
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
TARGETED_DEVICE_FAMILY: "1,2"
ENABLE_BITCODE: NO
ENABLE_DEBUG_DYLIB: NO
LIBRARY_SEARCH_PATHS: $(STAHL_RUST_LIB)
OTHER_LDFLAGS: >-
-lstahl_ios -liconv -lobjc -framework Security -framework QuartzCore
-framework CoreGraphics -framework Metal -framework Foundation
-framework CoreFoundation -framework UIKit -framework LocalAuthentication