Files
letro-ios/UnitTests/SupportingFiles/target.yml
Stefan Ceriu 4e1bdf0554 Xcode Cloud Support (#234)
* Removed now unnecessary code from alpha builds
* Add nightly build configuration
* Update ruby dependencies
* Stop changing the app name for PRs and Nightly, the icon is sufficient
* Add ITSAppUsesNonExemptEncryption flag as per https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption and https://stackoverflow.com/questions/35841117/missing-compliance-status-in-testflight
* Updated app groups to reflect various environments: production, nightly and PR. Remove keychain access group as they should be inferred from the access groups
2022-10-24 16:00:17 +03:00

52 lines
1.0 KiB
YAML

name: UnitTests
schemes:
UnitTests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
UnitTests: all
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: false
environmentVariables:
IS_RUNNING_UNIT_TESTS: "1"
test:
config: Debug
disableMainThreadChecker: false
captureScreenshotsAutomatically: false
gatherCoverageData: true
coverageTargets:
- ElementX
targets:
- UnitTests
targets:
UnitTests:
type: bundle.unit-test
platform: iOS
dependencies:
- target: ElementX
info:
path: ../SupportingFiles/Info.plist
settings:
base:
PRODUCT_NAME: UnitTests
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.unit.tests
debug:
release:
sources:
- path: ../Sources
- path: ../SupportingFiles
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
- path: ../Resources