papyrus
papyrus copied to clipboard
Xcode Cloud trust issue
Xcode Cloud complains that "Target 'Papyrus' must be enabled before it can be used." and gives up. Haven't seen this issue with other Swift packages. Any fixes?
@dev4jam You have to enable the macro plugin of Papyrus. I don't use Xcode Cloud myself, but after some quick searching, you could try the solution in the following link: https://stackoverflow.com/questions/77267883/how-do-i-trust-a-swift-macro-target-for-xcode-cloud-builds
Solved by adding into ci_post_clone.sh:
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidation -bool YES
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
But preferred to keep CI/CD pipeline clean.