Re: Xcode bots - No code signing identities found.
Re: Xcode bots - No code signing identities found.
- Subject: Re: Xcode bots - No code signing identities found.
- From: Alex Zavatone <email@hidden>
- Date: Tue, 24 Nov 2015 17:00:03 -0500
OK.
Here's hoping this helps others.
Yeah, the provisioning profiles that are being downloaded aren't all of them and they are put in another folder.
/Library/Developer/XcodeServer/ProvisioningProfiles
I was able to just drop one of the newer distro profiles in that folder and change my code signing and the bot builds and archives, but what a PITA.
Also, the developer's public/private key pair needs to go into the System key chain and there is another issue. (Yay).
If you get info on your key in the keychain (put it in the System keychain), you have to set Access Control to be "Allow all applications to access this item".
Then you need to check it again.
Sometimes (in my case) setting it to all access fails and that is what was happening for me. When the bot was codesigning the archive, it didn't have access to the key pair and it didn't ask for it, so my bot just got stuck (hung) at codesigning after I had resolved the provisioning hell.
There's some radar filed on it, but it's most certainly still a time consuming and pretty infuriating issue.
The end result though is that after about 1/2 a day of wasted time, we have the basics for a build server actually limping along (but those code signing things still suck and will break the bots if anyone changes the code signing in the source).
If anyone wants to set an Xcode server build bot, I'll be happy to help if you run into the same issues.
Pretty powerful once you get past all the infuriating setup mess.
Oh yeah, and clicking on "Coverage" crashes Xcode if you have no coverage tools set up. : /
Cheers.
On Nov 24, 2015, at 2:54 PM, Alex Zavatone wrote:
> Well, great news everybody!
>
> It turns out that Xcode server doesn't download all the provisioning profiles for your account! Yeah!
>
> I'm sure there are other jewels in there as well, but we're missing our wildcard profiles.
>
> It turns out that it's only downloading the profiles that are marked as "managed by Xcode", so we're missing about 1/2 of our provisioning profiles and all our distribution profiles.
>
> WHEN this happens to you, the path to the files is here:
>
> /Library/Developer/XcodeServer/ProvisioningProfiles
>
> It also renames the files based on your devicePlatform and then devTeamID and so on.
>
> How the hell does someone fix this?
>
> Jesus.
>
>
> On Nov 24, 2015, at 1:43 PM, Alex Zavatone wrote:
>
>> It appears that I'm not the only person who has run into this, but I'll be damned if I have found out why this happens or how to solve it.
>>
>> Running Xcode Server 5.0.10 and Xcode 7.1, I can build my app and I can build an ad-hoc version my app on the version of Xcode that is on the server without a problem.
>>
>> I can't get an Xcode bot to create an archive. Every time I get "No code signing identities found: No valid signing identities (i.e. certificate and private key pair) for the team ID "XXXXXXXXXX" were found.
>>
>> So I exported and imported my public and private key pair from my box and imported them into the keychain on the server.
>>
>> And I made sure that they show up in the keychain as what the team ID needs to be.
>>
>> Still, the same error.
>>
>> I've copied the cert and private key pair into the System keychain.
>>
>> Still, the same error.
>>
>> I've already been at this for over an hour and there doesn't seem to be one clear answer as to why this is happening. Does anyone have a clue as to what it really is asking for?
>>
>> Issues like this completely suck.
>>
>> Thanks.
>> _______________________________________________
>> 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