How do we manually fix “ResourceRules.plist: cannot read resources” error after xcode 6.1 upgrade?

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.