-
Bug
-
Resolution: Unresolved
-
Major
-
Xcode 4.4.1, OSX Mountain Lion
Project builds fine when not setting technical version to something like ${BUILD_NUMBER}.
When setting technical version in build step, the following error gets output:
/usr/bin/agvtool new-version -all 71
There are no Xcode project files in this directory. agvtool needs a project to operate.
FATAL: Could not set the CFBundleVersion to: 71
Build step 'XCode' marked build as failure
I use an Xcode Workspace File and build a Scheme. The workspace file is not in the same folder as my main project file. Maybe this is the problem?
[JENKINS-15118] Avgtool does not Find Project File when Setting Technical Version in Xcode Build Step for Workspace-Based Project
Attachment | New: jenkinslogfile.txt [ 28353 ] |
Attachment | New: log.txt [ 28635 ] |
All agvtool command executions are executed from the projectRoot directory.
The projectRoot is currently either the workspace (default) or the relative Xcode project directory
I don't see why setting the workspace directory should prevent agvtool from working. Could you check in your job output if the project root is properly defined ? Also try running the agvtool from the command line.