File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,17 @@ export class XcodebuildArgsService implements IXcodebuildArgsService {
136
136
projectRoot ,
137
137
`${ projectData . projectName } .xcworkspace`
138
138
) ;
139
+ // Introduced in Xcode 14+
140
+ // ref: https://forums.swift.org/t/telling-xcode-14-beta-4-to-trust-build-tool-plugins-programatically/59305/5
141
+ const skipPackageValidation = "-skipPackagePluginValidation" ;
142
+
139
143
if ( this . $fs . exists ( xcworkspacePath ) ) {
140
144
return [
141
145
"-workspace" ,
142
146
xcworkspacePath ,
143
147
"-scheme" ,
144
148
projectData . projectName ,
145
- "-skipPackagePluginValidation" ,
149
+ skipPackageValidation ,
146
150
] ;
147
151
}
148
152
@@ -155,7 +159,7 @@ export class XcodebuildArgsService implements IXcodebuildArgsService {
155
159
xcodeprojPath ,
156
160
"-scheme" ,
157
161
projectData . projectName ,
158
- "-skipPackagePluginValidation" ,
162
+ skipPackageValidation ,
159
163
] ;
160
164
}
161
165
You can’t perform that action at this time.
0 commit comments