-
Bug
-
Resolution: Low Engagement
-
Medium
-
None
-
6.5.0
-
1
-
Severity 3 - Minor
-
0
-
Summary
If Xcode task is configured to build IPA, it will fail with error message '' is not a workspace file
Steps to Reproduce
- Create Xcode task without IPA option
- Make sure that the build run successfully
- Enable the option "Build an .ipa for iOS Application Distribution" in Xcode task iOS development
- 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
- is cloned as
-
BDEV-15098 Loading...
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