File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -119,13 +119,21 @@ export class XcodebuildArgsService implements IXcodebuildArgsService {
119
119
// ref: https://forums.swift.org/t/telling-xcode-14-beta-4-to-trust-build-tool-plugins-programatically/59305/5
120
120
const skipPackageValidation = "-skipPackagePluginValidation" ;
121
121
122
+ const BUILD_SETTINGS_FILE_PATH = path . join (
123
+ projectData . appResourcesDirectoryPath ,
124
+ "iOS" ,
125
+ constants . BUILD_XCCONFIG_FILE_NAME
126
+ ) ;
127
+
122
128
if ( this . $fs . exists ( xcworkspacePath ) ) {
123
129
return [
124
130
"-workspace" ,
125
131
xcworkspacePath ,
126
132
"-scheme" ,
127
133
projectData . projectName ,
128
134
skipPackageValidation ,
135
+ "-xcconfig" ,
136
+ BUILD_SETTINGS_FILE_PATH ,
129
137
] ;
130
138
}
131
139
@@ -139,6 +147,8 @@ export class XcodebuildArgsService implements IXcodebuildArgsService {
139
147
"-scheme" ,
140
148
projectData . projectName ,
141
149
skipPackageValidation ,
150
+ "-xcconfig" ,
151
+ BUILD_SETTINGS_FILE_PATH ,
142
152
] ;
143
153
}
144
154
You can’t perform that action at this time.
0 commit comments