kstenerud / iOS-Universal-Framework

An XCode project template to build universal frameworks (arm7, arm7s, and simulator) for iOS / iPhone.
2.95k stars 473 forks source link

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

Open angerman opened 10 years ago

angerman commented 10 years ago

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 commented 10 years ago

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.

dominik0711 commented 10 years ago

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!

angerman commented 10 years ago

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

On Jan 15, 2014, at 4:31 PM, dominik0711 notifications@github.com 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 .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.

MattFoley commented 10 years ago

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.

BrettThePark commented 10 years ago

Has any solved this yet?