YrXtals/ios/project.yml

54 lines
1.6 KiB
YAML

name: YrXtals
options:
bundleIdPrefix: org.else-if
deploymentTarget:
iOS: "17.0"
developmentLanguage: en
groupSortPosition: top
generateEmptyDirectories: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: org.else-if.yrxtals
DEVELOPMENT_TEAM: Z9CXT3ZVLD
CODE_SIGN_STYLE: Automatic
SWIFT_VERSION: 5.0
TARGETED_DEVICE_FAMILY: "2,1"
IPHONEOS_DEPLOYMENT_TARGET: "17.0"
SWIFT_OBJC_BRIDGING_HEADER: ../include/yr_xtals.h
LIBRARY_SEARCH_PATHS:
- $(PROJECT_DIR)/../target/$(PLATFORM_NAME)/release
OTHER_LDFLAGS:
- -lyr_crystals
EXCLUDED_ARCHS[sdk=iphonesimulator*]: x86_64
INFOPLIST_FILE: Info.plist
GENERATE_INFOPLIST_FILE: NO
# clears xcodegen's auto-emitted INFOPLIST_KEY_* settings.
INFOPLIST_KEY_CFBundleDisplayName: ""
INFOPLIST_KEY_LSApplicationCategoryType: ""
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: ""
INFOPLIST_KEY_UILaunchScreen_Generation: ""
INFOPLIST_KEY_UIStatusBarHidden: ""
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: ""
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: ""
# permits cargo writes outside PROJECT_DIR.
ENABLE_USER_SCRIPT_SANDBOXING: NO
targets:
YrXtals:
type: application
platform: iOS
sources:
- path: src
- path: Assets.xcassets
settings:
base:
INFOPLIST_FILE: Info.plist
GENERATE_INFOPLIST_FILE: NO
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
preBuildScripts:
- name: Build Rust staticlib
script: bash "$PROJECT_DIR/../scripts/ios/xcode-cargo.sh"
basedOnDependencyAnalysis: false
dependencies: []