IPhone code error (ResourceRules.plist: cannot read resources) when trying to share the application

I am trying to split my ad hoc application. I can create and run it on my device, but when I archive it and try to share it, I get a strange error that I have never seen before, see below. Any suggestions?

error: / usr / bin / codesign --force --preserve-metadata --sign iPhone Distribution: Joe Blogs - resource-rules = / var / folders / 7z / gv6v8fqx737d6k1sytnchgrh0000gn / T / 0ePfwPLHPA / Payload / My application .app / ResourceRules.plist --entitlements / var / folders / 7z / gv6v8fqx737d6k1sytnchgrh0000gn / T / 0ePfwPLHPA / entitlements_plistd2eAQQ_S / var / folders / 7z / gv6v8fqx737d6k1sytnhphpload.hp.nload.hp.hp.load.hp.hp.hp.htt / folders / 7z / gv6v8fqx737d6k1sytnchgrh0000gn / T / 0ePfwPLHPA / Payload / My App.app/ResourceRules.plist: cannot read resources

+5
source share
1 answer

The application you are trying to create is probably incorrect. Are you sure you are building against the iphoneos SDK and not the simulator SDK?

xcodebuild, .app

0

All Articles