Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-19885

Xcode task fails with '' is not a workspace file if IPA is configured

      Summary

      If Xcode task is configured to build IPA, it will fail with error message '' is not a workspace file

      Steps to Reproduce

      1. Create Xcode task without IPA option
      2. Make sure that the build run successfully
      3. Enable the option "Build an .ipa for iOS Application Distribution" in Xcode task iOS development
      4. Run the build

      Expected Results

      It will finish successfully

      Actual Results

      The below exception is thrown in the build log file:

      simple	16-May-2018 23:27:50	Starting task 'Xcode' of type 'com.atlassian.bamboo.plugins.xcode.bamboo-xcode-plugin:xcodeTaskType'
      command	16-May-2018 23:27:50	Beginning to execute external process for build 'bamboo - git - Default Job #12 (BAM-GIT-JOB1-12)'\n ... running command line: \n/usr/bin/xcodebuild clean build -sdk iphoneos11.1 -alltargets\n ... in: /Users/klfoong/Desktop/ServiceRocket/bamboo/atlassian-bamboo-6.5.0/home/xml-data/build-dir/BAM-GIT-JOB1
      ...
      build	16-May-2018 23:28:01	** BUILD SUCCEEDED **
      build	16-May-2018 23:28:01	
      command	16-May-2018 23:28:01	Beginning to execute external process for build 'bamboo - git - Default Job #12 (BAM-GIT-JOB1-12)'\n ... running command line: \n/usr/bin/xcrun -sdk iphoneos11.1 xcodebuild -workspace  -scheme  -sdk iphoneos archive -archivePath /Users/klfoong/test/ios.xcarchive\n ... in: /Users/klfoong/Desktop/ServiceRocket/bamboo/atlassian-bamboo-6.5.0/home/xml-data/build-dir/BAM-GIT-JOB1
      ...
      build	16-May-2018 23:28:01	Build settings from command line:
      build	16-May-2018 23:28:01	    SDKROOT = iphoneos11.1
      build	16-May-2018 23:28:01	
      error	16-May-2018 23:28:01	xcodebuild: error: '' is not a workspace file.
      simple	16-May-2018 23:28:01	Failing task since return code of [/usr/bin/xcrun -sdk iphoneos11.1 xcodebuild -workspace  -scheme  -sdk iphoneos archive -archivePath /Users/klfoong/test/ios.xcarchive] was 66 while expected 0
      

      Notes

      • The command run with "workspace" option even though it run successfully without that option previously
      • This iOS project is using xcodeproj file

            [BAM-19885] Xcode task fails with '' is not a workspace file if IPA is configured

            Atlassian Update - 9 April 2025

            Hi,

            At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.

            This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.

            Please note the comments on this thread are not being monitored.

            You can read more about our bug fix policy here and how we prioritize bugs.

            To learn more about our recent investments in Bamboo Data Center, please check our public roadmap.

            Kind regards,
            Bamboo Data Center

            Ishwinder Kaur added a comment - Atlassian Update - 9 April 2025 Hi, At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products. This bug is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments; this inactivity suggests a low impact. Please note the comments on this thread are not being monitored. You can read more about our bug fix policy here and how we prioritize bugs. To learn more about our recent investments in Bamboo Data Center, please check our public roadmap . Kind regards, Bamboo Data Center

            I suggest to change the priority to HIGH, because this will stuck the continuos integration for iOS apps, that is my case.

            +1

            Roman Ivannikov added a comment - I suggest to change the priority to HIGH, because this will stuck the continuos integration for iOS apps, that is my case. +1

            Ste Mar added a comment -

            I suggest to change the priority to HIGH, because this will stuck the continuos integration for iOS apps, that is my case.

            Ste Mar added a comment - I suggest to change the priority to HIGH, because this will stuck the continuos integration for iOS apps, that is my case.

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: