Recent

Author Topic: Do we need o link against 10.9 for hardening/notarization  (Read 679 times)

MISV

  • Hero Member
  • *****
  • Posts: 701
Do we need o link against 10.9 for hardening/notarization
« on: December 04, 2019, 09:36:46 am »
Official Mac page (which assumes xcode) says one must bind to 10.9 SDK but can deploy/target older macOS releases for hardening/notarization:
https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution

So has anyone here tried? If I target 10.9 instead of 10.8 (which I currently do to avoid some compilation problems when targeting older) I believe I will hinder my software in running on old MacOS versions

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 772
Re: Do we need o link against 10.9 for hardening/notarization
« Reply #1 on: December 04, 2019, 07:21:10 pm »
I don't have any idea about the necessity in terms of notarisation, but it's perfectly possible to link against a newer SDK (-XR) while targeting an older macOS version (-WM). The two have been decoupled by Apple since quite a while now.

MISV

  • Hero Member
  • *****
  • Posts: 701
Re: Do we need o link against 10.9 for hardening/notarization
« Reply #2 on: December 06, 2019, 11:58:13 am »
Hmmm...

Okay, so currently I use -WM 10.8 because helps in bypassing an issue when compiling
https://forum.lazarus.freepascal.org/index.php/topic,44453.0.html
https://forum.lazarus.freepascal.org/index.php/topic,44830.0.html
since it changes what gets linked into the executable

So I actually thought that targeting/sdk would be more or less the same thing when using Lazarus... when it is specific versioned files that gets compiled into the executable. But seems I have something more to learn here then :)

But if you are correct, I won't need to do anything more? That should part should work'a'box when hardening/notarizing?

 

TinyPortal © 2005-2018