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

dSYMs not generated in version 2.0.11

    XMLWordPrintable

Details

    Description

      dSYMs zip not packaged in the product release.  The same configuration is ok while using xcode plugin version 2.0.8.

      Maybe it releated to the commit "

      Fixed the validation when multiple projects are included in WorkSpace…
      …. JENKINS-54113
      "?

      ====

      in 2.0.8.  the log said:

       

      Archiving dSYM
      No dSYM file found in /Users/haojiepan/Workspaces/workspace/xxxx/build/xxxx.xcarchive/dSYMs !
      [build] $ ditto -c -k --keepParent -rsrc /Workspaces/workspace/xxxx/build/Release-iphoneos/xxxx.app.dSYM /Workspaces/workspace/xxxx/Releases/xxxx-dSYM.zip

       

      in 2.0.11. the log is :

      Archiving dSYM
      No dSYM file found in /Workspaces/workspace/xxxx/build/xxxx.xcarchive/dSYMs !
      No dSYM file found in /Workspaces/workspace/xxxx/build/eTrip.xcarchive/dSYMs !

       

      Attachments

        Activity

          biaji biAji Na created issue -
          biaji biAji Na made changes -
          Field Original Value New Value
          Priority Minor [ 4 ] Major [ 3 ]
          biaji biAji Na made changes -
          Description dSYMs zip not packaged in the product release.  The same configuration is ok while using xcode plugin version 2.0.8.

          Maybe it releated to the commit "fix dSYMs generation [JENKINS-54414]"?

          ====

          in 2.0.8.  the log said:

           

          Archiving dSYM
          No dSYM file found in /Users/haojiepan/Workspaces/workspace/xxxx/build/xxxx.xcarchive/dSYMs !
          [build] $ ditto -c -k --keepParent -rsrc /Workspaces/workspace/xxxx/build/Release-iphoneos/xxxx.app.dSYM /Workspaces/workspace/xxxx/Releases/xxxx-dSYM.zip

           

          in 2.0.11. the log is :

          Archiving dSYM
          No dSYM file found in /Workspaces/workspace/xxxx/build/xxxx.xcarchive/dSYMs !
          No dSYM file found in /Workspaces/workspace/xxxx/build/eTrip.xcarchive/dSYMs !

           
          dSYMs zip not packaged in the product release.  The same configuration is ok while using xcode plugin version 2.0.8.

          Maybe it releated to the commit "

          Fixed the validation when multiple projects are included in WorkSpace…
          …. [JENKINS-54113]
          "?

          ====

          in 2.0.8.  the log said:

           

          Archiving dSYM
           No dSYM file found in /Users/haojiepan/Workspaces/workspace/xxxx/build/xxxx.xcarchive/dSYMs !
           [build] $ ditto -c -k --keepParent -rsrc /Workspaces/workspace/xxxx/build/Release-iphoneos/xxxx.app.dSYM /Workspaces/workspace/xxxx/Releases/xxxx-dSYM.zip

           

          in 2.0.11. the log is :

          Archiving dSYM
           No dSYM file found in /Workspaces/workspace/xxxx/build/xxxx.xcarchive/dSYMs !
           No dSYM file found in /Workspaces/workspace/xxxx/build/eTrip.xcarchive/dSYMs !

           

          biaji
          The old Xcode seems to have been somewhere else, but in recent Xcode, dSYM files should always be created in build/brbrbr.../xxxx.xcarchive/dSYMs under the build directory.
          And the plug-in assumes that dSYMs file is there, and it is searching only there.
          However, I see your message, the dSYMs file seems to be in a different place (other than build/brbrbr.../xxxx.xcarchive/dSYMs).
          Are you running the build with some special parameters for xcodebuild ?

          kazuhidet Kazuhide Takahashi added a comment - biaji The old Xcode seems to have been somewhere else, but in recent Xcode, dSYM files should always be created in build/brbrbr.../xxxx.xcarchive/dSYMs under the build directory. And the plug-in assumes that dSYMs file is there, and it is searching only there. However, I see your message, the dSYMs file seems to be in a different place (other than build/brbrbr.../xxxx.xcarchive/dSYMs). Are you running the build with some special parameters for xcodebuild ?

          By the way, plug-ins of version 2.0.10 or earlier searched for dSYMs files under the build/ directory, but with this way, even incorrect files may be processed.

          kazuhidet Kazuhide Takahashi added a comment - By the way, plug-ins of version 2.0.10 or earlier searched for dSYMs files under the build/ directory, but with this way, even incorrect files may be processed.
          biaji biAji Na added a comment -

          I'm not sure if it releated to xcode version.  My build machine is xcode 10. 

          it looked like xxx.xcarchive  only generated when Generate Archive option checked?  In my case,  we build enterprise ipa instead of app for appstore. So maybe this is the difference?

          biaji biAji Na added a comment - I'm not sure if it releated to xcode version.  My build machine is xcode 10.  it looked like xxx.xcarchive  only generated when Generate Archive option checked?  In my case,  we build enterprise ipa instead of app for appstore. So maybe this is the difference?

          biaji

          When xcodebuild is executed using this plug-in, the specification to generate an IPA file (’Pack application, build and sign .ipa?’ Is checked) automatically creates the '.xcarchive' as well. The ’archive’ option is also turned on. It should be, so if there is a dSYM folder there, it will be archived.

          kazuhidet Kazuhide Takahashi added a comment - biaji When xcodebuild is executed using this plug-in, the specification to generate an IPA file (’Pack application, build and sign .ipa?’ Is checked) automatically creates the '.xcarchive' as well. The ’archive’ option is also turned on. It should be, so if there is a dSYM folder there, it will be archived.
          kazuhidet Kazuhide Takahashi made changes -
          Assignee Kazuhide Takahashi [ kazuhidet ]
          kazuhidet Kazuhide Takahashi made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            kazuhidet Kazuhide Takahashi
            biaji biAji Na
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: