It’s set in your schemes.  Pick your Release configuration.

> On May 24, 2020, at 4:54 AM, Sandor Szatmari via Cocoa-dev 
> <cocoa-dev@lists.apple.com> 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 
>> <cocoa-dev@lists.apple.com> 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 (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> https://lists.apple.com/mailman/options/cocoa-dev/admin.szatmari.net%40gmail.com
>> 
>> This email sent to admin.szatmari....@gmail.com
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to