我刚刚将我的 OSX 更新到 Yosemite,然后在使用 TestFlight 桌面应用程序向 TestFlight 提交新构建时遇到错误。
error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign 2c30db522ceda29332f9f85951addff0276e0de1 --resource-rules=/tmp/sesLW20J9I/Payload/MyApp.app/ResourceRules.plist /tmp/sesLW20J9I/Payload/MyApp.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/sesLW20J9I/Payload/MyApp.app/ResourceRules.plist: cannot read resources
有人有想法吗?
最佳答案
好吧,我终于找到了解决这个问题的方法。 XCode 6.1 好像默认没有生成资源规则文件。
要像以前一样生成资源规则文件,请转到项目设置,搜索
Code Signing Resource Rules Path,并设置其值为
$(SDKROOT)/ResourceRules.plist
此更改后,重建您的目标,TestFlight 桌面应用程序将像以前一样工作。
关于ios - TestFlight 桌面应用程序 v1.0 无法在 OSX Yosemite v10.10 上运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26596879/