Unable to build IPA when we use a workspa

I've originally created https://jira.atlassian.com/browse/BAM-13364 but may be this is a better place to ask, I am building a xcode workspace, building is fine but the app bundle is in DerivatedData dir which is not within the workspace dir so I am unable to build an IPA from the plugin as it require a app bundle path relative to the workspace dir.

Is there a setting I am missing or do it require a new version of Xcode plugin ?

I am using Bamboo Xcode plugin 1.8

2 answers

Hi Emmanuel,

I am also facing the same issue just with the workspace app. Did you get any resolution on this?

Hi Emmanuel,

I am able to fix this by below config. I did generate the ipa in this step though:

 

Screen Shot 2016-08-22 at 7.48.19 PM.png

 

Custom Parameters is:

CONFIGURATION_BUILD_DIR=${bamboo.build.working.directory}/build/Release-iphoneos

 

For generating IPA i create a new Script Task:

    

#/bin/bash

mkdir ${bamboo.build.working.directory}/build/Release-iphoneos/Payload
cp -R ${bamboo.build.working.directory}/build/Release-iphoneos/xxxx.app          ${bamboo.build.working.directory}/build/Release-iphoneos/Payload

cd ${bamboo.build.working.directory}/build/Release-iphoneos
/usr/bin/zip -r xxxx.ipa Payload
rm -rf Payload
exit 0

 

 

 

This will create your IPA.

P.S.: I am using latest XCode Plugin 6.0.

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

356 views 0 6
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