简体   繁体   English

Xcode 6.1-Cordova应用程序项目的ressource-rules.plist错误

[英]Xcode 6.1 - ressource-rules.plist error with Cordova app project

I'm actually trying to sign an iOS Cordova application. 我实际上是在尝试签署iOS Cordova应用程序。 The project was created with the following configuration : 该项目是使用以下配置创建的:

  • OS X 10.9.4 OS X 10.9.4
  • Xcode 5.1 Xcode 5.1
  • Cordova 3.6 科尔多瓦3.6

Today, my configuration is : 今天,我的配置是:

  • OS X 10.10 OS X 10.10
  • Xcode 6.1.1 Xcode 6.1.1
  • Cordova 4.1.2 科尔多瓦4.1.2

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... 我也尝试过:清理我的项目,强制关闭Xcode并重做修复程序,等等。

Nothing seems to work. 似乎没有任何作用。

Someone know what to do ? 有人知道该怎么办吗?

Solved it ! 解决了! I went back to Xcode 6.0.1 我回到了Xcode 6.0.1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM