X $ C $ 6.1Ç错误,同时建立IPA [英] Xcode 6.1 error while building IPA

查看:195
本文介绍了X $ C $ 6.1Ç错误,同时建立IPA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚升级于X code 6.1的今天,并猜测:现在我无法提交使用TestFlight桌面应用程序的基础之上。下面是我得到的错误,而应用程序启动建设IPA:

Just upgraded to Xcode 6.1 today, and guess what: Now I'm having trouble submitting builds using the TestFlight desktop app. Here's the error I'm getting while the app starts building the IPA:

错误:在/ usr / bin中/ codesign --force
   - preserve-元=名称,权利,资源规则--sign 854059d45eed724593debef577a562e1ba96ab55
  --resource规则=的/ tmp / QYFSJIvu7W /负载/ XX.app / ResourceRules.plist
  /tmp/QYFSJIvu7W/Payload/XX.app失败,错误1.输出:
  警告:使用 - preserve的元数据与选择资源规则
  (德$ P $在Mac OS X> = 10.10 pcated)!警告:--resource规则已经
  德$ P $在Mac OS X> = 10.10 pcated!
  /tmp/QYFSJIvu7W/Payload/XX.app/ResourceRules.plist:不能读
  资源

error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign 854059d45eed724593debef577a562e1ba96ab55 --resource-rules=/tmp/QYFSJIvu7W/Payload/XX.app/ResourceRules.plist /tmp/QYFSJIvu7W/Payload/XX.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! /tmp/QYFSJIvu7W/Payload/XX.app/ResourceRules.plist: cannot read resources

在'支持文章不知道是怎么回事。

The 'Support Article' has no idea what is going on.

这似乎并没有因为同样的事情在一个CI环境像詹金斯使用xcrun或类似工具,恰好是一个TestFlight问题。

It does not seem to be a TestFlight problem because the same thing happens in a CI environment like Jenkins using the xcrun or similar tools.

该应用程序没有更新了几个月,所以我知道我不应该期待任何更新,尽快解决这个问题任何时候。它曾经工作非常好,我和我的客户,所以我不放弃上它别的东西要么真正热衷。

The app wasn't updated for months, so I know that I shouldn't be expecting for any updates to fix this anytime soon. It used to work really well for me and my clients so I'm not really keen on abandoning it for something else either.

有关这个错误是什么左右,以及如何解决这将是非常美联社preciated。任何想法

Any ideas for what this error is about, and how to fix it would be very appreciated.

推荐答案

我希望我知道的为什么的工作原理,但的这里是为我工作的修复

I wish I knew why it works, but here's a fix that worked for me:

找到修复!

点击您的项目>目标>选择您的目标>构建设置
  >

Click on your project > Targets > Select your target > Build Settings >

code签名资源规则路径

和添加:

$(SDKROOT)/ResourceRules.plist

这篇关于X $ C $ 6.1Ç错误,同时建立IPA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆