sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
586 stars 19 forks source link

Feature Request: Add support for -skipMacroValidation flag #36

Closed LukaZeleznik closed 2 months ago

LukaZeleznik commented 2 months ago

Request to add support for the -skipMacroValidation flag to SweetPad, allowing users to bypass macro validation during build.

Currently, sweetpad does not allow the user to set a -skipMacroValidation, which is needed in some workspaces. Otherwise the build might fail with:

The following build commands failed: ComputeTargetDependencyGraph

We use TCA, so this command is needed for a successful build.

Proposed Solution Add the option to add -skipMacroValidation flag that allows users to skip the macro validation step when building.

hyzyla commented 2 months ago

Make sense, I will definitely add it to the next release

hyzyla commented 2 months ago

I've added support for this in the latest release 0.1.28. Here is documentation — Set additional build settings

Briefly you need to add this to your .vscode/settings.json file:

{
  "sweetpad.build.args": ["-skipMacroValidation"],
}
LukaZeleznik commented 2 months ago

Thank you very much!