Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dominik0711 opened this issue Jan 15, 2014 · 2 comments
Open

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

dominik0711 opened this issue Jan 15, 2014 · 2 comments

Comments

@dominik0711
Copy link

Hi,

since few days I have a running Xcode CI server (Maverick) on my Development machine. A build bot for the project target is running without any errors. So building, analyzing and unit testing are all fine.

Now when I try to create an Archive.xcarchive with another bot, which takes the aggregate target results in an empty .xcarchive

These are the settings for the aggregate target (as described by jverkoey):

  1. Skip install = YES
  2. Installation Directory =

I have checked all the build directories on the server and I have seen a correct <PROJECT>.framework in the Products directory on the server.

The bot seams to create the archive with the following command:

/usr/bin/xcrun xcodebuild -server-use -exportArchive -archivePath /Library/Server/Xcode/Data/BotRuns/BotRun-39f042c5-0271-4cad-b5e6-9d044740480b.bundle/output/Archive.xcarchive -exportPath /Library/Server/Xcode/Data/BotRuns/BotRun-39f042c5-0271-4cad-b5e6-9d044740480b.bundle/output/CI_Archive -exportWithOriginalSigningIdentity

This results in an empty Archive.xcarchive.

Does anybody knows how to solve this? Does anybody knows the right settings to create successfully an Archive.xcarchive?

Thanks in advance.

@PaulSolt
Copy link
Collaborator

I had an issue with this, and I think it was my bundle target that was the
culprit. Make sure that Skip install = YES is set for all the "sub-targets"
for the aggregate target.

http://stackoverflow.com/questions/5265292/xcode-4-create-ipa-file-instead-of-xcarchive

-Paul Solt

On Wed, Jan 15, 2014 at 10:49 AM, dominik0711 notifications@github.comwrote:

Hi,

since few days I have a running Xcode CI server (Maverick) on my
Development machine. A build bot for the project target is running without
any errors. So building, analyzing and unit testing are all fine.

Now when I try to create an Archive.xcarchive with another bot, which
takes the aggregate target results in an empty .xcarchive

These are the settings for the aggregate target (as described by
jverkoey):

  1. Skip install = YES
  2. Installation Directory =

I have checked all the build directories on the server and I have seen a
correct .framework in the Products directory on the server.

The bot seams to create the archive with the following command:

/usr/bin/xcrun xcodebuild -server-use -exportArchive -archivePath /Library/Server/Xcode/Data/BotRuns/BotRun-39f042c5-0271-4cad-b5e6-9d044740480b.bundle/output/Archive.xcarchive -exportPath /Library/Server/Xcode/Data/BotRuns/BotRun-39f042c5-0271-4cad-b5e6-9d044740480b.bundle/output/CI_Archive -exportWithOriginalSigningIdentity

This results in an empty Archive.xcarchive.

Does anybody knows how to solve this? Does anybody knows the right
settings to create successfully an Archive.xcarchive?

Thanks in advance.


Reply to this email directly or view it on GitHubhttps://github.com//issues/75
.

Paul Solt
PaulSolt@gmail.com
215-341-0407 (Cell)
http://www.PaulSolt.com/

Creative apps for iPhone and iPad: http://www.ArtworkEvolution.com/

@jverkoey
Copy link
Owner

@dominik0711 did modifying the skip install flag help?

@jverkoey jverkoey reopened this Jan 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants