iOS-Universal-Framework icon indicating copy to clipboard operation
iOS-Universal-Framework copied to clipboard

Xcode Build Bots "archive" resulting in an empty .xcarchive #mk8

Open angerman opened this issue 10 years ago • 5 comments

When building with build bots, the "archive" is build. After adjusting the should_open_build_dir , so that trying to open the folder does not result in an error.

def should_open_build_dir():
    env_setting = os.environ.get('UFW_OPEN_BUILD_DIR', None)
    env_group = os.environ.get('GROUP', None)
    if env_setting is not None:
        return env_setting
    if env_group and env_group == '_teamsserver':
        return None
    return config_open_build_dir

Still, the archive that is build results in an empty .xcarchive. This is apparently the same behavior as a regular cocoa framework. I was just wondering if anyone has an idea how to put the framework and dSYM into the built .xcarchive. Especially, as that is also what the build bots generate and offer to download upon successful integration.

angerman avatar Oct 26 '13 19:10 angerman

After some experiments, it appears as if "Skip Install" in combination with the default value for "Installation Directory" is sufficient to make xcode create a non-empty .xcarchive. What is left missing is the generation of the .dSYM.

angerman avatar Oct 27 '13 11:10 angerman

Hi angerman,

I try to create an archive from my Xcode CI server through an aggregation target with a run script for creating a fat framework.

The framework is created correct on the server but the archive.xcarchive is still empty. Do you probably know the right setting configuration to get an archive with the <PROJECT>.framework in it?

Currently my configuration is as follow:

  1. Skip install = YES
  2. Installation Directory = empty

Thanks in advance!

dominik0711 avatar Jan 15 '14 15:01 dominik0711

I'm terribly sorry. I have not been able to make it work yet :(

On Jan 15, 2014, at 4:31 PM, dominik0711 [email protected] wrote:

Hi angerman,

I try to create an archive from my Xcode CI server through an aggregation target with a run script for creating a fat framework.

The framework is created correct on the server but the archive.xcarchive is still empty. Do you probably know the right setting configuration to get an archive with the <PROJECT>.framework in it?

Currently my configuration is as follow:

• Skip install = YES • Installation Directory = empty Thanks in advance!

— Reply to this email directly or view it on GitHub.

angerman avatar Jan 16 '14 17:01 angerman

I'm not to that point yet, but soon I'll be looking at trying to figure this out. Any advice would be most appreciated.

MattFoley avatar Jan 23 '14 17:01 MattFoley

Has any solved this yet?

BrettThePark avatar Feb 28 '14 05:02 BrettThePark