3

Right now I am using Xcode Plugin which is provided by TeamCity only. This Plugin is working fine for Building the solution.

But when I want to create iOS application build for testing on real devices. Every time it's giving me

[18:07:32]Step 1/1: Xcode Project (7s)

[18:07:39]CLEAN)] [BEROR]Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “95fdd2bf-0203-4f2a-8d57-9ad4d07c44f7”, however, no such provisioning profile was found.

[18:07:40][Step 1/1] Step Xcode Project failed

How I Can manage this provisioning profile from TeamCity.

Mihriban Minaz
  • 3,043
  • 2
  • 32
  • 52
Pramod Raut
  • 677
  • 3
  • 9
  • 22

2 Answers2

3

Here is the final solution :

Provisioning profiles and certificates must be installed for the system user.

Provisioning profiles can be found at /Users/<username>/Library/MobileDevice/Provisioning Profiles - copy them to System/Library/MobileDevice/Provisioning Profiles (Create folders that do not exist)

How to find the Library folder location : http://computers.tutsplus.com/tutorials/how-to-reveal-your-library-folder-in-lion-or-mountain-lion--mac-31972

iwasrobbed
  • 46,496
  • 21
  • 150
  • 195
Pramod Raut
  • 677
  • 3
  • 9
  • 22
1

iOS builds can be complex. Without knowing anythign else, my best guess would be you need to download the provisioning profile on the build agent via Xcode. The easiest way to do this is opening Xcode on the agent, click Xcode > Preferences and add an Apple ID of a developer/admin in your Apple Developer account - basically you need an ID that has access to said provisioning profile.

When you have added an Apple ID, double-click your team name and it will show that team's signing identities and provisioning profiles. Click Download All to pull down all of the provisioning profiles.

You may also need to install your signing identity to the same machine's keychain in order to code sign. That signing identity is specified in the provisioning profile.

bluescores
  • 4,437
  • 1
  • 20
  • 34
  • Thanks for Reply. Already I did this part on Xcode. But still my TeamCity build agent is failing. Is there any way that my TeamCity build agent can invoke that certificates and provisioning profiles while building the Code using Xcode plugin in TeamCity – Pramod Raut Apr 25 '16 at 07:15