Xcode agent JOB fails if generate IPA

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

327 views 1 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you