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

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

Open dominik0711 opened this issue 11 years ago • 2 comments

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.

dominik0711 avatar Jan 15 '14 15:01 dominik0711

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 [email protected]:

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.

— Reply to this email directly or view it on GitHubhttps://github.com/jverkoey/iOS-Framework/issues/75 .

Paul Solt [email protected] 215-341-0407 (Cell) http://www.PaulSolt.com/

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

PaulSolt avatar Jan 15 '14 22:01 PaulSolt

@dominik0711 did modifying the skip install flag help?

jverkoey avatar Jan 21 '14 18:01 jverkoey