Re: Building for 10.12
Re: Building for 10.12
- Subject: Re: Building for 10.12
- From: Rob Petrovec via Cocoa-dev <email@hidden>
- Date: Fri, 18 Mar 2022 11:45:33 -0600
> On Mar 18, 2022, at 8:47 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> I am trying to build my app for macOS 10.12 (Sierra).
>
> First of all, is it correct that I need to build it for "My Mac" , not do a
> niversal build (Any Mac)?
If you are only building to debug it then My Mac is fine. But if you
are building to send out to customers then you want Universal.
> Second, I have been switching the scheme to build for "My Mac", but when I
> archive it to notarize it and export it, I still get a universal app.
> What gives?
Thats what you want. Why wouldn’t you want a universal app for
customers to use?
> BTW: I have sent such a build to a beta tester using 10.12, but he gets the
> error message
> "cannot be opened because of a problem".
Thats not enough information. Did the app crash on launch? If so, a
crash log would be needed.
> PS:
>
> I have, of course, switched the Deployment Target to 10.12,
> but I am working on macOS 12.1 and Xcode 13.3.
Make sure you have the 10.12 SDK installed in your Xcode. To find out
what OS SDK is installed in your selected Xcode run:
xcodebuild -version -sdk macosx
Good luck.
—Rob
> _______________________________________________
>
> 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