My GitHub CI was failing with a xcodebuild when I included a swift package that contains some macros. The build with xcodebuild
was simply telling me xcodebuild: error: Failed writing xctestrun file: The folder .xctestrun doesn’t exist.
and failed. The package resolving worked but the build failed. Locally it is working properly.
Use `-skipMacroValidation` for xcodebuild command when using an external package that includes macros
692 views Asked by Quambadeur At
2
After a very long journey I finally found out:
xcodebuild
needs the parameter-skipMacroValidation
to work properly.Obviously locally it was working because I initially enabled the package when adding it to the dependencies.