I am little concerned about how people treat the following issue.
Basically it sounds like \"Build fails on Jenkins with the ResourceRules.plist: cannot read r
ResourceRules.plist: cannot read r
If you have used Xcode version greater 6.1 then change the below line
$(SDKROOT)/ResourceRules.plist
TO CODE_SIGN_RESOURCE_RULES_PATH=$(SDKROOT)/ResourceRules.plist