Re: Force Xcode to code sign my unit test bundle?
Re: Force Xcode to code sign my unit test bundle?
- Subject: Re: Force Xcode to code sign my unit test bundle?
- From: Joar Wingfors <email@hidden>
- Date: Thu, 20 Mar 2014 20:29:41 -0700
Please file a bug report:
<http://developer.apple.com/bugreporter/>
Thanks,
Joar
On 20 mar 2014, at 10:55, email@hidden wrote:
> Is there a way to do this?
>
> I’m using a framework that needs access to the keychain, and this fails because my test bundle isn’t code signed. If I sign it using the application’s information, all is well:
>
> codesign --force —sign SOMEUUID --resource-rules=$BUILT_PRODUCTS_DIR/Wealthfront.app/ResourceRules.plist --entitlements $CONFIGURATION_TEMP_DIR/Wealthfront.build/Wealthfront.xcent $BUILT_PRODUCTS_DIR/WealthfrontTests.xctest
>
> The test target’s code signing properties are the same as the app’s, but thats not getting the job done. I’ve added the above script as a Run Script phase, which works for me, but my script foo is too weak to make this work for the other engineers on my team. I hit a road block trying to find out how Xcode identifies the correct developer identity and provisioning profile to use during signing.
>
> Thanks.
>
> Nick
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden