I’ve found a solution. Adding the following entitlement during codesigning allows me to use ctypes:
com.apple.security.cs.disable-executable-page-protection That is a big relief. Just > On 14 Feb 2020, at 21:46, Just van Rossum <justvanros...@gmail.com> wrote: > > Hello, > > I’m trying to codesign and notarize my application, and thanks to the > following thread I’m getting closer: > > https://mail.python.org/pipermail/pythonmac-sig/2018-October/024341.html > > However, I’m stuck there, since my app _does_ require ctypes. > > Is there currently a way to use ctypes in a py2app-built application, and > have it codesigned and notarized? I’m afraid the answer may be “no”, if I > read the thread correctly... > > Thanks for any clues, > > Just > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG