Quantcast

[JIRA] (JENKINS-15118) Avgtool does not Find Project File when Setting Technical Version in Xcode Build Step for Workspace-Based Project

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15118) Avgtool does not Find Project File when Setting Technical Version in Xcode Build Step for Workspace-Based Project

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: xcode
Created: 11/Sep/12 3:57 PM
Description:

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?

Environment: Xcode 4.4.1, OSX Mountain Lion
Project: Jenkins
Labels: slave xcode
Priority: Major Major
Reporter: Fabian E
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15118) Avgtool does not Find Project File when Setting Technical Version in Xcode Build Step for Workspace-Based Project

JIRA noreply@jenkins-ci.org
lacostej commented on Bug JENKINS-15118

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...