TestFlight桌面应用程序v1.0无法在OSX Yosemite v10.10上运行?

时间:2022-10-15 02:44:18

I have just updated my OSX to Yosemite, then I ran into an error when submitting a new build to TestFlight with the TestFlight desktop app.

我刚刚将我的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

错误:/ 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失败,错误1.输出:警告:使用带有“resource-rules”选项的--preserve-metadata(在Mac OS X中不推荐使用> = 10.10)!警告:在Mac OS X中,不推荐使用--resource-rules> = 10.10! /tmp/sesLW20J9I/Payload/MyApp.app/ResourceRules.plist:无法读取资源

Anyone has got an idea?

有人有想法吗?

2 个解决方案

#1


34  

OK, finally I find a solution to this issue. It seems that the resource rules file is not generated by default in XCode 6.1.

好的,最后我找到了解决这个问题的方法。似乎在XCode 6.1中默认不生成资源规则文件。

To generate the resource rules file as before, go to project setting, search for

要像以前一样生成资源规则文件,请转到项目设置,搜索

Code Signing Resource Rules Path, and set its value as

代码签名资源规则路径,并将其值设置为

$(SDKROOT)/ResourceRules.plist

After this change, rebuild your target, TestFlight desktop app will work as before.

完成此更改后,重建目标,TestFlight桌面应用程序将像以前一样工作。

#2


1  

The app has not been updated to work on Yosemite (and I doubt it ever will because it was developed before Apple acquired TestFlight iirc and Apple has integrated the uploading process into Xcode.

该应用程序还没有更新到Yosemite上工作(我怀疑它会不会因为它是在Apple收购TestFlight iirc之前开发的,Apple已将上传过程集成到Xcode中。

#1


34  

OK, finally I find a solution to this issue. It seems that the resource rules file is not generated by default in XCode 6.1.

好的,最后我找到了解决这个问题的方法。似乎在XCode 6.1中默认不生成资源规则文件。

To generate the resource rules file as before, go to project setting, search for

要像以前一样生成资源规则文件,请转到项目设置,搜索

Code Signing Resource Rules Path, and set its value as

代码签名资源规则路径,并将其值设置为

$(SDKROOT)/ResourceRules.plist

After this change, rebuild your target, TestFlight desktop app will work as before.

完成此更改后,重建目标,TestFlight桌面应用程序将像以前一样工作。

#2


1  

The app has not been updated to work on Yosemite (and I doubt it ever will because it was developed before Apple acquired TestFlight iirc and Apple has integrated the uploading process into Xcode.

该应用程序还没有更新到Yosemite上工作(我怀疑它会不会因为它是在Apple收购TestFlight iirc之前开发的,Apple已将上传过程集成到Xcode中。