It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Xcode agent JOB fails if generate IPA

Tech GOFAR May 15, 2018

I have the same problem as described here
https://community.atlassian.com/t5/Bamboo-questions/xcodebuild-fails-with-xcodebuild-error-is-not-a-workspace-file/qaq-p/652566

However, topic is dead over there.

User defaults from command line:
16-May-2018 11:05:02    IDEArchivePathOverride = /Users/me/Desktop/Builds/iOS-2.xcarchive
16-May-2018 11:05:02 
16-May-2018 11:05:02Build settings from command line:
16-May-2018 11:05:02    SDKROOT = iphoneos11.3
16-May-2018 11:05:02 
16-May-2018 11:05:02xcodebuild: error: '' is not a workspace file.

 

Failing task since return code of [/usr/bin/xcrun -sdk iphoneos11.3 xcodebuild -workspace  -scheme Staging -sdk iphoneos -configuration Staging archive -archivePath /Users/me/Desktop/Builds/iOS-2.xcarchive]


As you can see the line from logs does include -workspace key word. However, I do not use workspace ;/ I do use xcodeproj file.
That's what I have specify in my JOB.

It does work if I won't generate an IPA file. If I do select to generate IPA file it fails on this line 

1 answer

0 votes
Kah Loun Foong Atlassian Team May 16, 2018

Have created the bug report  https://jira.atlassian.com/browse/BAM-19885

Szymon Lorenz May 17, 2018

Roger!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

961 views 12 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you