Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TestFlight desktop app v1.0 not working on OSX Yosemite v10.10?

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.

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

Anyone has got an idea?

like image 840
Jibeex Avatar asked Oct 27 '14 21:10

Jibeex


1 Answers

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.

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.

like image 145
Jibeex Avatar answered Sep 20 '22 15:09

Jibeex