Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Xcode agent JOB fails if generate IPA

Tech GOFAR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 16, 2018

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

Szymon Lorenz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 17, 2018

Roger!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events