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

NPE while reading valid Xcode project with v. 2.0.12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • xcode-plugin
    • None

      This problem appeared after updating Mac OS X to 10.14.6 and appears only for Xcode 10.3 (with Xcode 11 works fine).  After downgrading Xcode plugin to 2.0.8 works fine.

      Stackowerflow issue: https://stackoverflow.com/questions/58061101/exception-when-building-project-with-jenkins-xcode-plugin/58078516#58078516 
      13:11:44 Also setting CFBundleVersion key (assuming it exists)13:11:44 13:11:44 Updating CFBundleVersion in Info.plist(s)...13:11:44 13:11:44 Updated CFBundleVersion in "OTP.xcodeproj/../iFOBS-Info.plist" to 1.3.17.190*13:11:44* 13:11:44 13:11:44 Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: 1.3.17*13:11:44* Technical version (CFBundleVersion) used by Jenkins to produce the IPA: 1.3.17.190*13:11:44* Read signing information from Xcode Project.13:11:44 Read information from workspace OTP*13:11:44* ERROR: Build step failed with exception*13:11:44* java.lang.NullPointerException*13:11:44* at au.com.rayh.XCodeBuilder._perform(XCodeBuilder.java:1289)13:11:44 at au.com.rayh.XCodeBuilder.perform(XCodeBuilder.java:1085)13:11:44 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)13:11:44 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)13:11:44 at hudson.model.Build$BuildExecution.build(Build.java:206)13:11:44 at hudson.model.Build$BuildExecution.doRun(Build.java:163)13:11:44 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)13:11:44 at hudson.model.Run.execute(Run.java:1835)13:11:44 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)13:11:44 at hudson.model.ResourceController.execute(ResourceController.java:97)13:11:44 at hudson.model.Executor.run(Executor.java:429)13:11:44 Build step 'Xcode' marked build as failure

            kazuhidet Kazuhide Takahashi
            alexrush Alexander Pogulyaka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: