Files
Kordant/iOS/project.yml
2026-05-26 09:38:54 -04:00

107 lines
2.4 KiB
YAML

# XcodeGen Configuration for Kordant iOS App
name: Kordant
options:
xcodeIndentationWidth: 4
tabWidth: 4
usesTabs: false
bundleIdPrefix: com.frenocorp
deploymentTarget:
iOS: "17.0"
settings:
base:
MARKETING_VERSION: 1.0.0
CURRENT_PROJECT_VERSION: 1
SWIFT_VERSION: "5.9"
ENABLE_PREVIEWS: YES
AUTOMATIC_SIGNING: NO
TARGETED_DEVICE_FAMILY: "1,2"
packages:
Collections:
url: https://github.com/apple/swift-collections
from: "1.0.0"
Algorithms:
url: https://github.com/apple/swift-algorithms
from: "1.0.0"
targets:
Kordant:
type: application
platform: iOS
deploymentTarget: "17.0"
sources:
- path: Kordant
excludes:
- "**/*.xcodeproj"
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.frenocorp.kordant
PRODUCT_NAME: Kordant
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS: YES
INFOPLIST_FILE: Kordant/Info.plist
dependencies:
- package: Collections
product: Collections
- package: Algorithms
product: Algorithms
preBuildScripts:
- name: SwiftLint
script: |
if which swiftlint >/dev/null 2>&1; then
swiftlint lint --quiet || true
else
echo "warning: SwiftLint not installed, run 'brew install swiftlint' to enable linting"
fi
showEnvVarsInLog: false
basedOnDependencyAnalysis: false
KordantTests:
type: bundle.unit-test
platform: iOS
deploymentTarget: "17.0"
sources:
- path: KordantTests
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.frenocorp.KordantTests
GENERATE_INFOPLIST_FILE: YES
dependencies:
- target: Kordant
KordantUITests:
type: bundle.ui-testing
platform: iOS
deploymentTarget: "17.0"
sources:
- path: KordantUITests
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.frenocorp.KordantUITests
GENERATE_INFOPLIST_FILE: YES
dependencies:
- target: Kordant
schemes:
Kordant:
build:
targets:
Kordant: all
KordantTests: [test]
KordantUITests: [test]
run:
config: Debug
test:
config: Debug
targets:
- KordantTests
- KordantUITests
profile:
config: Release
analyze:
config: Debug
archive:
config: Release