bitrise-steplib/steps-xcode-archive

Archive an SDK without exporting?

Closed this issue · 5 comments

I have an SDK that I've put under CI on bitrise. when I run the Archive and export step, the archive works but it fails when trying to export because it can't find the IPA. Is there a way to simply archive and not look for an .ipa?

Is there something else I'm not understanding?

bitce commented

HI @enoelboostmi!

In case you don't want to export, maybe you could simply remove the Deploy to Bitrise.io step? Or do you need it for some other reason?

@bitce Hello, I think I ran into same case as @enoelboostmi, I need just to export unsigned xcarchive without .ipa, is this possible?

bitce commented

Hi @matuslittva!

It should be entirely possible. The following commands should produce that exactly:

xcodebuild -workspace <projectName>.xcworkspace -scheme <projectName> -configuration Release clean archive -archivePath buildArchive/<projectName>.xcarchive CODE_SIGN_IDENTITY=”” CODE_SIGNING_REQUIRED=NO

Make sure the archive gets located in the deploy directory / or modify the directory of the Bitrise Deploy step, for the file to be available online.

Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.

To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant.
This issue has had no activity for 90 days, so I marked it as stale.

The community would appreciate if you could check if the issue still persists. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".

If no comment left within 21 days, this issue will be closed.

I'll close this issue as it doesn't seem to be relevant anymore.
We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.