In Github CI this solution seems not to work. I tried this
- name: Skip SwiftPM plugin trust validation (system)
run: |
set -euo pipefail
sudo defaults write /Library/Preferences/com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidation -bool YES
However I still get the error:
Validate plug-in “OpenAPIGenerator” in package “swift-openapi-generator”
error: “OpenAPIGenerator” must be enabled before it can be used
** BUILD INTERRUPTED **
The following build commands failed:
Validate plug-in “OpenAPIGenerator” in package “swift-openapi-generator”