Re: Build for Archiving gone?
Re: Build for Archiving gone?
- Subject: Re: Build for Archiving gone?
- From: Jerry Krinock <email@hidden>
- Date: Tue, 02 Dec 2014 21:01:17 -0500
> On 2014 Dec 01, at 16:29, Trygve Inda <email@hidden> wrote:
>
> My helper app is not included in the copy files build rule of the main app
> because I have a scheme in xcode that builds the helper, then the main app
> and the helper's build path is within the directory structure of the main
> app..
I got lost in the second part of that sentence.
> This has always worked (and works in xc6 for everything except
> "Archive”)
Xcode will automatically add some added files to a Copy Files Build Phase, but I’ve never I’ve never had a helper app built into my product package without it being in a Copy Files Build Phase. Maybe you put this helper in there manually a long time ago, and haven’t cleaned the project until recently.
> If Archive does not respect the schemes, and forces me to add the helper app
> to the copy files build phase of the main app, then what is the point of
> defining a scheme to build a series of targets into the proper directory so
> that they all just work?
Regarding overriding build products directory, I just confirmed that the “Build Products Path : Release” Build Setting is used when I use the xcodebuild command-line tool with configuration Release. However, it is ignored when I click Product > Archive in Xcode. I think that if you want a product built into your designated “Build Products Path : Release” Build Setting, you could create a custom scheme that builds a “Release” configuration.
But “Archive” means to build something into Xcode's Archives – the stuff you see in Xcode’s Organizer.
_______________________________________________
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