Error code 65 - iOS build

Hi,

I am getting the following error from the clean phase of an Xcode build:

[09:50:35]Step 3/6: Build app (Xcode Project) (29s)

[09:50:37][Step 3/6] BDPointApp (CLEAN)

[09:50:37][BDPointApp (CLEAN)] [BEROR]Code Sign error: Automatic provisioning profile selection unavailable: A bundle identifier is required for automatic provisioning profile selection. Either enter a bundle identifier in the Info.plist, or select a provisioning profile to use in the build settings.

[09:50:37][BDPointApp (CLEAN)] [BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.2'

[09:51:04][Step 3/6] Step Build app (Xcode Project) failed


There is a valid provisioning profile (I can build other apps using the same bundle identifier as the provisioning profile has a wildcard) that allows me to build on devices and create releases for distribution.  I have checked the bundle identifier many times to ensure that it is correct.  I have tried over-riding the configuration entries to specify them explicitly but I always get the same error.

I am unable to locate any issues in the Xcode configuration; is there anywhere I can check on why team city is unable to locate the code signing?
3 comments
Comment actions Permalink

Hi Roddy,

Are you able to run this build on the same machine as TeamCity agent? Please follow the steps described in this guideline.

0
Comment actions Permalink

Hi,

Thanks for your response; you beat me to a reply.  The issue was <default> being utilised as the branch id, thereby messing up the info.plist (and a few other things).  This seems to be a serious issue where <default> is utiised verbatim as opposed to the name of the branch being referred to by the default setting.

To correct the issue, the default branch was moved as the other solutions found did not seem to work.

Thanks for your response,

Roddy

0
Comment actions Permalink

We don't know actual value of this parameter for default branch until we collect changes in build. However after collecting changes teamcity.build.branch parameter equals to the name of the default branch instead of <default>. See the related issue.

0

Please sign in to leave a comment.