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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,154 views 0 8
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