If you’re using Jenkins with the XCode plugin, you can modify the 'Code Signing Resource Rules Path'
variable by adding:
"CODE_SIGN_RESOURCE_RULES_PATH=$(SDKROOT)/ResourceRules.plist"
to the
'Custom xcodebuild arguments'
setting for the XCode plugin.
This fix does not require the XCode GUI.