py2app icon indicating copy to clipboard operation
py2app copied to clipboard

Bump target version for x64 app template to allow to pass gatekeeper/notarization

Open k-dominik opened this issue 7 months ago • 2 comments

With the current configuration in the app template, it is impossible to make an app pass gatekeeper - it requires minium sdk version of 10.9.

I've confirmed that changing

https://github.com/ronaldoussoren/py2app/blob/487a55e34746fa6eb857de51f2bd0ac03026592d/src/py2app/apptemplate/setup.py#L23-L24

to

 "target": "10.9", 
 "cflags": "-g -arch x86_64", 

and rebuilding the binaries does the trick.

Would you care for a PR, @ronaldoussoren?

k-dominik avatar May 05 '25 10:05 k-dominik

You aren't suggesting that " -Wl,-rpath,@executable_path/../Frameworks" should be removed as well, right?

radarhere avatar Aug 13 '25 09:08 radarhere

the universal and arm-64 variant seem to do without, so, yes.

k-dominik avatar Aug 13 '25 10:08 k-dominik