Avatar
Kishikawa Katsumi 6/20/2023 11:40 AM
https://forums.swift.org/t/is-there-a-way-to-programmatically-allow-trust-the-compiler-plugin-to-run-from-the-command-line/65690/2 SwiftのマクロはCIだとコンパイラプラグインの検証を押せなくて失敗するんだけどスキップする方法を教えてもらった。 xcodebuild-skipMacroValidationを渡すか com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES のUserDefaultsを設定すればスキップできる。Xcode Cloudはxcodebuildコマンド使えないから後者でやるしかないね。
You can use defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES in a script to skip validation of macros from remote dependencies (the equivalent xcodebuild command line flag is -skipMacroValidation).