Re: Xcode Archive builds Debug version?
Re: Xcode Archive builds Debug version?
- Subject: Re: Xcode Archive builds Debug version?
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Mon, 25 May 2020 09:39:44 -0500
It’s set in your schemes. Pick your Release configuration.
> On May 24, 2020, at 4:54 AM, Sandor Szatmari via Cocoa-dev
> <email@hidden> wrote:
>
> Gabriele,
>
> When you do archive Xcode uses a different build destination. It seems to
> use
> /Library/Developer/Xcode/Archives
>
> It builds an Archive bundle of sorts to package your build.
>
> You can right click in the organizer and select ‘Show In Finder’ and explore
> what Xcode is building for you. I suspect it should be correct.
>
> Sandor
>
>> On May 24, 2020, at 04:47, Gabriel Zachmann via Cocoa-dev
>> <email@hidden> wrote:
>>
>> When I do Product / Archive , Xcode builds my app and shows it in the
>> Organizer.
>> However, it only creates /tmp/Debug, even though the Scheme has Build
>> Configuration = Release in the Archive section.
>> (I have set Derived Data to /tmp in the Locations tab in Xcode's
>> preferences.)
>>
>> I am confused: does Xcode really build the debug version when I make an
>> Archive?
>> (which I need for signing and notarizing)
>> Or does it build the Release version and - erroneously - puts it in
>> /tmp/Debug?
>>
>> Either way I would like to correct that and sort things out.
>>
>> Could some kind should please shed some light on this?
>>
>> Best regards, Gabriel
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden