Pramod Raut Pramod Raut - 2 months ago 15x
iOS Question

How to use Provisioning certificate for iOS build using TeamCity

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.


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 :