Re: Having trouble archiving via xcodebuild
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