I'm actually trying to sign an iOS Cordova application. The project was created with the following configuration :
Today, my configuration is :
Every time I try to sign the application, I get this error :
error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,
resource-rules --sign AUDIPOG (94QQ6PT92C) --resource-rules=/var/folders/lm
/kf2d3xk95f3330_f0xn24xmm0000gn/T/x2pZphou5t/Payload/AUDiPOG.app/
ResourceRules.plist /var/folders/lm/kf2d3xk95f3330_f0xn24xmm0000gn/T
/x2pZphou5t/Payload/AUDiPOG.app failed with error 1. Output: Warning:
usage of --preserve-metadata with
option "resource-rules" (deprecated in Mac OS X >= 10.10)!
Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
/var/folders/lm/kf2d3xk95f3330_f0xn24xmm0000gn/T/x2pZphou5t/Payload/
AUDiPOG.app/ResourceRules.plist: cannot read resources
I run through some posts referring the same error, like this , this , this , this , this or this
They all offer the same fix :
$(SDKROOT)/ResourceRules.plist
Put this line at this location :
project > Targets > Select your target > Build Settings > Code Signing Resource Rules Path
I tried this fix... but it's not working.
I also tried : Clean my project, Force close Xcode and redo the fix, etc...
Nothing seems to work.
Someone know what to do ?
Solved it ! I went back to Xcode 6.0.1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.