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

Impossible to build ipa

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • xcode-plugin
    • None
    • v1.2.1

      Hi,

      I'm trying to setup a remote node to build my ios apps

      The app is building correctly but it fails on IPA build, the plugin tries to build the ipa with a relative path but it doesn't work. I tried to copy paste the command directly on my mac and i have the same error

      But when i set the absolute path it works ...

      Here are the logs for more information

      CodeSign build/Debug-iphoneos/JenkinsIOSExample.app
      cd /Users/yecine/dev/jenkins/workspace/first-ios-app
      setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
      setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
      /usr/bin/codesign --force --sign "iPhone Developer: Julien Menard (E9Y4C3U94P)" --resource-rules=/Users/yecine/dev/jenkins/workspace/first-ios-app/build/Debug-iphoneos/JenkinsIOSExample.app/ResourceRules.plist --entitlements /Users/yecine/dev/jenkins/workspace/first-ios-app/build/JenkinsIOSExample.build/Debug-iphoneos/JenkinsIOSExample.build/JenkinsIOSExample.xcent /Users/yecine/dev/jenkins/workspace/first-ios-app/build/Debug-iphoneos/JenkinsIOSExample.app

        • BUILD SUCCEEDED **

      Cleaning up previously generate .ipa files
      Packaging IPA
      Packaging JenkinsIOSExample.app => dev/jenkins/workspace/first-ios-app/build/Debug-iphoneos/JenkinsIOSExample-Debug-1.0.ipa
      [first-ios-app] $ /usr/bin/xcrun -sdk iphoneos PackageApplication -v dev/jenkins/workspace/first-ios-app/build/Debug-iphoneos/JenkinsIOSExample.app -o dev/jenkins/workspace/first-ios-app/build/Debug-iphoneos/JenkinsIOSExample-Debug-1.0.ipa
      error: Specified application doesn't exist or isn't a bundle directory : 'dev/jenkins/workspace/first-ios-app/build/Debug-iphoneos/JenkinsIOSExample.app'
      Failed to build JenkinsIOSExample-Debug-1.0.ipa

            aheritier Arnaud Héritier
            yecine06 yecine yecine
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: