Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26368

Technical Version / Marketing Version Not Updating


    • Similar Issues:


      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: 
      Updating CFBundleShortVersionString in Info.plist(s)...
      Cannot find "Project.xcodeproj/../				<key>INFOPLIST_FILE</key>"
      Updating technical version (CFBundleVersion) to:
      [Project] $ /usr/bin/agvtool new-version -all
      Setting version of project Project to: 

      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:
      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-
      [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-"
      Packaging application: '/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project.app'
      Arguments: output=/Users/userXXX/.jenkins/workspace/ProjectXXX/build/Project-0.1.13-  verbose=1  



          parkej60 James Parker created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 160433 ] JNJira + In-Review [ 180350 ]


            • Assignee:
              parkej60 James Parker
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: