Search code examples
iosobjective-cxcode5teamcityagent

TeamCity 8 xcode 5 agent code sign error


I am trying to run Xcode using TeamCity but I am getting a Code Sign error. Even though the provision profile and certificate exists on my machine. I can build it on my iPhone. This is the error I am getting:

Step 1/1: Xcode Project [09:36:16][Step 1/1] PRAnalytics (CLEAN)

[09:36:16][PRAnalytics (CLEAN)] [BEROR]Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “8A7A8B79-####-####-####-C39537A6A156”, however, no such provisioning profile was found.

[09:36:16][PRAnalytics (CLEAN)] [BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

[09:36:16][Step 1/1] Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “8A7A8B79-####-####-####-C39537A6A156”, however, no such provisioning profile was found.

[09:36:16][Step 1/1] CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

[09:36:16][Step 1/1] Step Xcode Project failed


Solution

  • Finally figured out. My agent was in HD/AGENT. When i moved it to HD/USER/DESKTOP/AGENT, it began to work. Seems like Agent should be in the USER directory.