I updated my build server to Yosemite so that I could start building iOS 8 projects. At that time my builds stopped replacing / updating the technical & marketing values within the projects plist file.

When I look at the log file (see attached) I see that it appears to be setting the information correctly, but at the bottom you can see that it's not actually using that information.

I've made sure that the plist file is being referenced correctly in all locations and I'm not using any kind of relative path such as ${src} for it's file path.

Build version 6A2008a
Fetching marketing version number (CFBundleShortVersionString) from project.
[Project] $ /usr/bin/agvtool mvers -terse1
No marketing version found (CFBundleShortVersionString).
Marketing version (CFBundleShortVersionString) found in project configuration: .
Fetching technical version number (CFBundleVersion) from project.
[Project] $ /usr/bin/agvtool vers -terse
No marketing version found (CFBundleVersion)
Technical version (CFBundleVersion) found in project configuration: .
Updating marketing version (CFBundleShortVersionString) to: 0.1.13
[Project] $ /usr/bin/agvtool new-marketing-version 0.1.13
Setting CFBundleShortVersionString of project Project to: 
    0.1.13.

Updating CFBundleShortVersionString in Info.plist(s)...

Cannot find "Project.xcodeproj/../				<key>INFOPLIST_FILE</key>"
Updating technical version (CFBundleVersion) to: 0.1.13.216
[Project] $ /usr/bin/agvtool new-version -all 0.1.13.216
Setting version of project Project to: 
    0.1.13.216.

Also setting CFBundleVersion key (assuming it exists)

Updating CFBundleVersion in Info.plist(s)...

Cannot find "Project.xcodeproj/../				<key>INFOPLIST_FILE</key>"


Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: 0.1.13
Technical version (CFBundleVersion) used by Jenkins to produce the IPA: 0.1.13.216
** BUILD SUCCEEDED **

Cleaning up previously generated .ipa files
Cleaning up previously generated .dSYM.zip files
Packaging IPA
[Project] $ /usr/libexec/PlistBuddy -c "Print :CFBundleVersion" "/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project.app/Info.plist"
[Project] $ /usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project.app/Info.plist"
Packaging Project.app => /Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project-0.1.13-0.1.13.4.ipa
[Project] $ /usr/bin/xcrun -sdk iphoneos PackageApplication -v "/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project.app" -o "/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project-0.1.13-0.1.13.4.ipa"
Packaging application: '/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project.app'
Arguments: output=/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project-0.1.13-0.1.13.4.ipa  verbose=1
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to