• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Having trouble archiving via xcodebuild
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having trouble archiving via xcodebuild


  • Subject: Re: Having trouble archiving via xcodebuild
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 02 Oct 2013 04:22:56 -0700

On 2013 Oct 02, at 01:31, Rick Mann <email@hidden> wrote:

> $ xcodebuild -project /path/to/my/project.xcodeproj -target MyTarget -configuration Debug clean build archive
>
> The end of the output is:
>
> -------------------------------
> ** BUILD SUCCEEDED **
>
> === BUILD TARGET MyTarget OF PROJECT project WITH CONFIGURATION Debug ===
>
> Check dependencies
> unsupported build action 'archive'

Although the xcodebuild man page does indicate in passing that you can pass build action*s* in the plural, I've never seen it done, and I don't see it being done in any of the examples in the man page.  From that last line I quoted, clearly xcodebuild is getting confused with your last build action 'archive'.

Try using separate commands,

$ xcodebuild -project /path/to/my/project.xcodeproj -target MyTarget -configuration Debug clean
$ xcodebuild -project /path/to/my/project.xcodeproj -target MyTarget -configuration Debug build
$ xcodebuild -project /path/to/my/project.xcodeproj -target MyTarget -configuration Debug archive

OH, and the man page also says that using 'archive' "requires specifying a scheme".  You have not specified a scheme.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: XCode 5 - breakpoints not firing again!
  • Next by Date: Xcode 5 crashes when debugging on two devices
  • Previous by thread: Re: XCode 5 New Project Woes
  • Next by thread: Re: Having trouble archiving via xcodebuild
  • Index(es):
    • Date
    • Thread