Use macOS . entitlements with SPM or swift command line

Is there a way to pass .entitlements to spm or swift command line compiler?

I've been told you can technically pass -sectcreate __TEXT __info_plist /path_to_plist to the linker but I can't find a way to pass this via the swift command line.

1 Like
Terms of Service

Privacy Policy

Cookie Policy