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

You have to provide a value for either the marketing or technical version. Found neither.

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: xcode-plugin
    • Labels:
      None
    • Environment:
      xcode plugin 2.0.0
    • Similar Issues:

      Description

      xcodebuild :
      [picc-E] $ /usr/bin/xcodebuild -scheme PICC -workspace /Users/Shared/Jenkins/Home/workspace/picc-E/PICC/PICC.xcworkspace -configuration Release clean archive -archivePath /Users/Shared/Jenkins/Home/workspace/picc-E/build/Release-iphoneos/PICC.xcarchive SYMROOT=/Users/Shared/Jenkins/Home/workspace/picc-E/build/ DEVELOPMENT_TEAM=78B85KNT9V "CODE_SIGN_IDENTITY=iPhone Distribution: Beijing Yishengjia Science and Technology Development Co., Ltd." PROVISIONING_PROFILE=6aba6220-f0f4-45a7-b040-4e2451f270d0
      User defaults from command line:
      IDEArchivePathOverride = /Users/Shared/Jenkins/Home/workspace/picc-E/build/Release-iphoneos/PICC.xcarchive

      Build settings from command line:
      CODE_SIGN_IDENTITY = iPhone Distribution: Beijing Yishengjia Science and Technology Development Co., Ltd.
      DEVELOPMENT_TEAM = 78B85KNT9V
      PROVISIONING_PROFILE = 6aba6220-f0f4-45a7-b040-4e2451f270d0
      SYMROOT = /Users/Shared/Jenkins/Home/workspace/picc-E/build/

      === CLEAN TARGET EGOImageLoading OF PROJECT Pods WITH CONFIGURATION Release ===

      error

        • ARCHIVE SUCCEEDED **

      Cleaning up previously generated .ipa files
      Cleaning up previously generated .dSYM.zip files
      Packaging IPA
      [picc-E] $ /usr/libexec/PlistBuddy -c "Print :ApplicationProperties:CFBundleVersion" /Users/Shared/Jenkins/Home/workspace/picc-E/build/Release-iphoneos/PICC.xcarchive/Info.plist
      [picc-E] $ /usr/libexec/PlistBuddy -c "Print :ApplicationProperties:CFBundleShortVersionString" /Users/Shared/Jenkins/Home/workspace/picc-E/build/Release-iphoneos/PICC.xcarchive/Info.plist
      You have to provide a value for either the marketing or technical version. Found neither.
      Build step 'Xcode' marked build as failure
      Finished: FAILURE

        Attachments

          Activity

          Hide
          koalli Edison Ko added a comment -

          I met this problem when my app project target have a static library dependence, in this static library target Build Phases, I put headers in public.

          When I use Jenkins to build it, xcarchive's info.plist missed ApplicationProperties and build was failed.

          After I put those headers into project and rebuild it, this problem was fixed.

          If anybody meet this problem like me, this may save your life.

          Show
          koalli Edison Ko added a comment - I met this problem when my app project target have a static library dependence, in this static library target Build Phases, I put headers in public. When I use Jenkins to build it, xcarchive's info.plist missed ApplicationProperties and build was failed. After I put those headers into project and rebuild it, this problem was fixed. If anybody meet this problem like me, this may save your life.

            People

            • Assignee:
              liyong2004 li yong
              Reporter:
              liyong2004 li yong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: