[英]Xcode 6.1 - ressource-rules.plist error with Cordova app project
我实际上是在尝试签署iOS Cordova应用程序。 该项目是使用以下配置创建的:
今天,我的配置是:
每次尝试对应用程序进行签名时,都会出现此错误:
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
我通过一些帖子提到了同样的错误,像跑这个 , 这个 , 这个 , 这个 , 这个和这个
他们都提供相同的解决方案:
$(SDKROOT)/ResourceRules.plist
将此行放在此位置:
project > Targets > Select your target > Build Settings > Code Signing Resource Rules Path
我尝试了此修复程序...但是不起作用。
我也尝试过:清理我的项目,强制关闭Xcode并重做修复程序,等等。
似乎没有任何作用。
有人知道该怎么办吗?
解决了! 我回到了Xcode 6.0.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.