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

Build IPA switch doesn't work properly for a default Xcode project always results in FATAL error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xcode-plugin
    • Labels:
      None
    • Environment:
      Mac OS X 10.6.8, Safari Browser 5.1.2
    • Similar Issues:

      Description

      Steps to reproduce:
      1) Install as your current username, by editing org.jenkins-ci.plist
      For UserName use Mac OS X username.
      restart Jenkins
      2) Create Build a free-style software project
      3) Source Code Management : None
      4) Xcode
      i) Clean before build? Yes
      ii) Target : Give a target Name.
      iiI) Configuration: Debug
      iv) Xcode Project File : give path to current ProjectName.xcodeproj
      v) Build IPA? Yes
      vi) Keychain path : ${HOME}/Library/Keychains/login.keychain
      vii) Save
      5) Now Hit Build Now
      Xcode project builds fine, but results in failed build.
      All Objective-C files are built fine.
      Examining console log, at bottom:

        • BUILD SUCCEEDED **

      Cleaning up previously generate .ipa files
      FATAL: /Users/pjmurphy/Jenkins/Home/jobs/Release1/workspace/build/Debug-iphoneos does not exist.
      /Users/pjmurphy/Jenkins/Home/jobs/Release1/workspace/build/Debug-iphoneos does not exist.

      Some file permission issue exists with creating /workspace/build/Debug-iphoneos. This directory is built in the users home directory so why this exists is a mystery.
      If you check off Build IPA : No, everything builds fine, and there is no FATAL error.
      In addition if you give it a Git Hub project, and in Xcode : check Build IPA : YES, it also works fine.

      We want to use this tool to build our iPhone Apps, but the current IPA bug prevents us from doing so.
      Please fix.
      Thanks...

        Attachments

          Issue Links

            Activity

            Hide
            aheritier Arnaud Héritier added a comment -

            Can you test this SNAPSHOT please ?
            We (I hope) identified the bug. See comments :
            https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin
            https://issues.jenkins-ci.org/browse/JENKINS-11813

            Show
            aheritier Arnaud Héritier added a comment - Can you test this SNAPSHOT please ? We (I hope) identified the bug. See comments : https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin https://issues.jenkins-ci.org/browse/JENKINS-11813
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Arnaud Héritier
            Path:
            pom.xml
            http://jenkins-ci.org/commit/xcode-plugin/4f2c02aa9df2c766ae0acf788242e2b9fa7a5b0b
            Log:
            Let' s release a bug fix for JENKINS-12089

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: pom.xml http://jenkins-ci.org/commit/xcode-plugin/4f2c02aa9df2c766ae0acf788242e2b9fa7a5b0b Log: Let' s release a bug fix for JENKINS-12089
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Arnaud Héritier
            Path:
            src/main/java/au/com/rayh/XCodeBuilder.java
            http://jenkins-ci.org/commit/xcode-plugin/8f87e6b5ce9ad049eac75fd8a694091f1d320d4d
            Log:
            JENKINS-12089 : buildDirectory is wrongly computed thus the cleaning of IPAs fails

            Compare: https://github.com/jenkinsci/xcode-plugin/compare/0fa3e9b...8f87e6b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Arnaud Héritier Path: src/main/java/au/com/rayh/XCodeBuilder.java http://jenkins-ci.org/commit/xcode-plugin/8f87e6b5ce9ad049eac75fd8a694091f1d320d4d Log: JENKINS-12089 : buildDirectory is wrongly computed thus the cleaning of IPAs fails Compare: https://github.com/jenkinsci/xcode-plugin/compare/0fa3e9b...8f87e6b
            Hide
            aheritier Arnaud Héritier added a comment -

            I'll push the release as soon as you'll have validated the fix.
            cheers

            Show
            aheritier Arnaud Héritier added a comment - I'll push the release as soon as you'll have validated the fix. cheers
            Hide
            aheritier Arnaud Héritier added a comment -

            Fixed in 1.2.1

            Show
            aheritier Arnaud Héritier added a comment - Fixed in 1.2.1
            Hide
            aheritier Arnaud Héritier added a comment -

            No more feedback after 1.2.1 release. I close it.

            Show
            aheritier Arnaud Héritier added a comment - No more feedback after 1.2.1 release. I close it.

              People

              • Assignee:
                aheritier Arnaud Héritier
                Reporter:
                pmurphy Pat Murphy
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: