【问题标题】:Xcode 6.1 - ressource-rules.plist error with Cordova app projectXcode 6.1 - Cordova 应用程序项目的 ressource-rules.plist 错误
【发布时间】:2015-03-10 00:36:48
【问题描述】:

我实际上是在尝试签署 iOS Cordova 应用程序。 该项目是使用以下配置创建的:

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

今天,我的配置是:

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

每次我尝试签署应用程序时,都会收到此错误:

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

我浏览了一些提到相同错误的帖子,例如 thisthisthisthisthisthis

它们都提供相同的修复:

$(SDKROOT)/ResourceRules.plist

把这条线放在这个位置:

project > Targets > Select your target > Build Settings > Code Signing Resource Rules Path

我尝试了这个修复...但它不起作用。

我也尝试过:清理我的项目、强制关闭 Xcode 并重做修复等...

似乎没有任何效果。

有人知道该怎么做吗?

【问题讨论】:

    标签: ios xcode cordova


    【解决方案1】:

    解决了!我回到了 Xcode 6.0.1

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多