• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 5, jenkins, and profiles (signing errors)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 5, jenkins, and profiles (signing errors)


  • Subject: Re: Xcode 5, jenkins, and profiles (signing errors)
  • From: Damian Carrillo <email@hidden>
  • Date: Tue, 24 Sep 2013 10:05:28 -0500

Hi John,

I've been faced with the same problem before, but not yet with iOS 7.0. Here are some 
things I've done to fix issues like the one you're having:

* ensure that the user I run Jenkins as has the desired provisioning profile,
* delete all provisioning profiles from the Xcode Organizer and refresh so that I 
  pull them back down,
* run the same commands I would run on the command line (ie. /usr/bin/security 
  find-identity -p codesigning –v) in a build script phase of an empty build and 
  inspect the output,
* hex dump my provisioning profiles and signing certificates just to make sure I 
  am using the expected ones.
  
At times it's been very difficult to determine why Jenkins won't pump out a build. Just 
in  case you didn't know, there is also support for continuous integration in Xcode as well:
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/000-About_Continuous_Integration/about_continuous_integration.html

Good luck,

Damian
  

On Sep 24, 2013, at 9:38 AM, John Spicer <email@hidden> wrote:

I am trying to get a jenkins build running on a dedicated build machine.
The build works fine on my local machine, I'm trying to move it all to a separate one.

I'm having issues with signing. The error I'm receiving is:

Check dependencies
Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “2E3E67DF-2BF3-4CD6-AB47-190753C3978C”, however, no such provisioning profile was found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'

I can build this app from Xcode w/o problems, it's just on the command line. I have looked through the script and I see this:

/usr/bin/security find-identity -p codesigning –v

Running this command from the terminal does return 2 valid identities, but returns none when run from Jenkins.
It smells like a permissions error of some kind, but I have been unable to figure it out.

I've already gone through multiple google suggestions and stuff from the Jenkins site w/o a solution.

I am using the Xcode plugin for Jenkins, if that helps.

Anyone else seen this?
This message and any attachment may contain information that is confidential and/or proprietary. Any use, disclosure, copying, storing, or distribution of this e-mail or any attached file by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please notify the sender by reply email and delete the message and any attachments. Thank you.
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
References: 
 >Xcode 5, jenkins, and profiles (signing errors) (From: John Spicer <email@hidden>)

  • Prev by Date: Xcode 5, jenkins, and profiles (signing errors)
  • Next by Date: Re: Xcode 5, jenkins, and profiles (signing errors)
  • Previous by thread: Xcode 5, jenkins, and profiles (signing errors)
  • Next by thread: Re: Xcode 5, jenkins, and profiles (signing errors)
  • Index(es):
    • Date
    • Thread