Skip to content

Commit 15cfd18

Browse files
committed
fix: use skipPackagePluginValidation flag to avoid build errors
1 parent 07df5e9 commit 15cfd18

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/services/ios/xcodebuild-args-service.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,13 @@ export class XcodebuildArgsService implements IXcodebuildArgsService {
136136
projectRoot,
137137
`${projectData.projectName}.xcworkspace`
138138
);
139-
// Igor: avoid more DI?
140-
// const macros = this.$devicePlatformsConstants.isvisionOS(
141-
// projectData.platformsDir
142-
// ) ? `GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 NS_DISABLE_MAIN_BOOT=1"` : "";
143-
// const macros = `GCC_PREPROCESSOR_DEFINITIONS="NS_DISABLE_MAIN_BOOT=1"`;
144139
if (this.$fs.exists(xcworkspacePath)) {
145140
return [
146141
"-workspace",
147142
xcworkspacePath,
148143
"-scheme",
149144
projectData.projectName,
150-
// macros,
145+
"-skipPackagePluginValidation",
151146
];
152147
}
153148

@@ -160,7 +155,7 @@ export class XcodebuildArgsService implements IXcodebuildArgsService {
160155
xcodeprojPath,
161156
"-scheme",
162157
projectData.projectName,
163-
// macros,
158+
"-skipPackagePluginValidation",
164159
];
165160
}
166161

0 commit comments

Comments
 (0)