XcodeGen: Use same names for yml and xcconfig files in every target

This commit is contained in:
manuroe
2021-02-11 09:06:38 +01:00
parent f570aa0d6f
commit 4d874c0022
18 changed files with 21 additions and 21 deletions

58
RiotTests/target.yml Normal file
View File

@@ -0,0 +1,58 @@
name: RiotTests
schemes:
RiotTests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
RiotTests:
- running
- testing
- profiling
- analyzing
- archiving
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: true
test:
config: Debug
disableMainThreadChecker: true
targets:
- RiotTests
targets:
RiotTests:
type: bundle.unit-test
platform: iOS
dependencies:
- target: Riot
settings:
base:
BUNDLE_LOADER: $(TEST_HOST)
FRAMEWORK_SEARCH_PATHS: $(SDKROOT)/Developer/Library/Frameworks $(inherited)
INFOPLIST_FILE: Info.plist
LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/Frameworks @loader_path/Frameworks
PRODUCT_BUNDLE_IDENTIFIER: org.matrix.$(PRODUCT_NAME:rfc1034identifier)
PRODUCT_NAME: RiotTests
SWIFT_OBJC_BRIDGING_HEADER: RiotTests-Bridging-Header.h
TEST_HOST: $(BUILT_PRODUCTS_DIR)/Riot.app/Riot
configs:
Debug:
Release:
PROVISIONING_PROFILE: $(RIOT_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(RIOT_PROVISIONING_PROFILE_SPECIFIER)
postbuildScripts:
- name: Embed Precompiled Frameworks
runOnlyWhenInstalling: false
script: echo "Skipping, nothing to be embedded."
shell: /bin/sh
sources: .