Xcodegen: No more build settings in yml files

This commit is contained in:
manuroe
2021-02-09 18:46:11 +01:00
parent 394a32c923
commit 205cf1e982
11 changed files with 29 additions and 57 deletions

View File

@@ -32,3 +32,8 @@ GCC_DYNAMIC_NO_PIC = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)
GCC_SYMBOLS_PRIVATE_EXTERN = NO
// Code signing: Use the development team for all targets
CODE_SIGN_IDENTITY = iPhone Developer
CODE_SIGN_STYLE = Automatic
PROVISIONING_PROFILE_SPECIFIER = ""

View File

@@ -25,3 +25,8 @@ MTL_ENABLE_DEBUG_INFO = NO
VALIDATE_PRODUCT = YES
SWIFT_COMPILATION_MODE = wholemodule
// Code signing: Manual
CODE_SIGN_IDENTITY = iPhone Distribution
CODE_SIGN_STYLE = Manual

View File

@@ -19,3 +19,6 @@
#include "App-Common.xcconfig"
#include "Pods/Target Support Files/Pods-RiotPods-Riot/Pods-RiotPods-Riot.release.xcconfig"
PROVISIONING_PROFILE = $(RIOT_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER = $(RIOT_PROVISIONING_PROFILE_SPECIFIER)

View File

@@ -19,3 +19,8 @@
#include "NSE-Common.xcconfig"
#include "Pods/Target Support Files/Pods-RiotPods-RiotNSE/Pods-RiotPods-RiotNSE.release.xcconfig"
PROVISIONING_PROFILE = $(NSE_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER = $(NSE_PROVISIONING_PROFILE_SPECIFIER)
COPY_PHASE_STRIP = NO

View File

@@ -19,3 +19,8 @@
#include "ShareExtension-Common.xcconfig"
#include "Pods/Target Support Files/Pods-RiotPods-RiotShareExtension/Pods-RiotPods-RiotShareExtension.release.xcconfig"
PROVISIONING_PROFILE = $(SHARE_EXTENSION_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER = $(SHARE_EXTENSION_PROVISIONING_PROFILE_SPECIFIER)
COPY_PHASE_STRIP: NO

View File

@@ -19,3 +19,8 @@
#include "SiriIntents-Common.xcconfig"
#include "Pods/Target Support Files/Pods-RiotPods-SiriIntents/Pods-RiotPods-SiriIntents.release.xcconfig"
PROVISIONING_PROFILE = $(SIRI_INTENTS_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER = $(SIRI_INTENTS_PROVISIONING_PROFILE_SPECIFIER)
COPY_PHASE_STRIP: NO

View File

@@ -38,20 +38,6 @@ targets:
configFiles:
Debug: ../Riot/SupportingFiles/App-Debug.xcconfig
Release: ../Riot/SupportingFiles/App-Release.xcconfig
settings:
base:
configs:
Debug:
CODE_SIGN_IDENTITY: iPhone Developer
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
CODE_SIGN_STYLE: Automatic
PROVISIONING_PROFILE_SPECIFIER:
Release:
CODE_SIGN_IDENTITY: iPhone Distribution
CODE_SIGN_STYLE: Manual
PROVISIONING_PROFILE: $(RIOT_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(RIOT_PROVISIONING_PROFILE_SPECIFIER)
preBuildScripts:
- name: ⚠️ SwiftLint
@@ -80,6 +66,7 @@ targets:
- "**/*.strings" # Exclude all strings files
# Add separately localizable files
# Once a language has enough translations (>80%), it must be declared here
- path: ../Riot/Assets/en.lproj/InfoPlist.strings
- path: ../Riot/Assets/en.lproj/Localizable.strings
- path: ../Riot/Assets/en.lproj/Vector.strings

View File

@@ -36,7 +36,6 @@ targets:
settings:
base:
BUNDLE_LOADER: $(TEST_HOST)
CODE_SIGN_STYLE: Manual
FRAMEWORK_SEARCH_PATHS: $(SDKROOT)/Developer/Library/Frameworks $(inherited)
INFOPLIST_FILE: RiotTests/Info.plist
LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/Frameworks @loader_path/Frameworks

View File

@@ -34,20 +34,6 @@ targets:
configFiles:
Debug: ../RiotNSE/NSE-Debug.xcconfig
Release: ../RiotNSE/NSE-Release.xcconfig
settings:
base:
configs:
Debug:
CODE_SIGN_IDENTITY: iPhone Developer
CODE_SIGN_STYLE: Automatic
PROVISIONING_PROFILE_SPECIFIER: ""
Release:
CODE_SIGN_IDENTITY: iPhone Distribution
CODE_SIGN_STYLE: Manual
COPY_PHASE_STRIP: NO
PROVISIONING_PROFILE: $(NSE_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(NSE_PROVISIONING_PROFILE_SPECIFIER)
postbuildScripts:
- name: Embed Precompiled Frameworks

View File

@@ -35,20 +35,6 @@ targets:
Debug: ../RiotShareExtension/SupportingFiles/ShareExtension-Debug.xcconfig
Release: ../RiotShareExtension/SupportingFiles/ShareExtension-Release.xcconfig
settings:
base:
configs:
Debug:
CODE_SIGN_IDENTITY: iPhone Developer
CODE_SIGN_STYLE: Automatic
PROVISIONING_PROFILE_SPECIFIER: ""
Release:
CODE_SIGN_IDENTITY: iPhone Distribution
CODE_SIGN_STYLE: Manual
COPY_PHASE_STRIP: NO
PROVISIONING_PROFILE: $(SHARE_EXTENSION_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(SHARE_EXTENSION_PROVISIONING_PROFILE_SPECIFIER)
postbuildScripts:
- name: Embed Precompiled Frameworks
runOnlyWhenInstalling: false

View File

@@ -38,20 +38,6 @@ targets:
Debug: ../SiriIntents/SiriIntents-Debug.xcconfig
Release: ../SiriIntents/SiriIntents-Release.xcconfig
settings:
base:
configs:
Debug:
CODE_SIGN_IDENTITY: iPhone Developer
CODE_SIGN_STYLE: Automatic
PROVISIONING_PROFILE_SPECIFIER: ""
Release:
CODE_SIGN_IDENTITY: iPhone Distribution
CODE_SIGN_STYLE: Manual
COPY_PHASE_STRIP: NO
PROVISIONING_PROFILE: $(SIRI_INTENTS_PROVISIONING_PROFILE)
PROVISIONING_PROFILE_SPECIFIER: $(SIRI_INTENTS_PROVISIONING_PROFILE_SPECIFIER)
postbuildScripts:
- name: Embed Precompiled Frameworks
runOnlyWhenInstalling: false