Post

Replies

Boosts

Views

Activity

Replacement for AuthorizationExecuteWithPrivileges for running installer package
Hello, We are trying to develop an application, which is like a custom installer app, where it asks for certain user input or performs certain checks before the actual package in run. As the package needs to be run as sudo or with priviliges , (using NSTask with sudo is giving error that needs ask pass). So using AuthorizationExecuteWithPrivileges to perform install pkg using /usr/sbin/Installer. This works . But the documentation says AuthorizationExecuteWithPrivileges is deprecated and also console has a message AuthorizationExecuteWithPrivileges and AuthorizationExecuteWithPrivilegesExternalForm are deprecated and functionality will be removed soon - please update your application What is the replacement API or approach to install a pkg from a user launched app. The deprecation Notes says Deprecated Use a launchd-launched helper tool and/or the Service Management framework for this functionality. But how to use this for installation case?
0
0
597
Jul ’20
Notarisation warning safariextz file is present inside app bundle
Hi,Our app has safari legacy extension(***.safarietz), which is packaged inside bundle at custom directory under resources(***.app/Contents/Resources/Components/***.safariextz), when trying notarise the app bundle, there is a warning that ***.safariextz is not a valid product / component package.Couple of questions:How can we resolve this warning.( To support older version of safari we need this extension)Will this warning become error after Feb 3rd 2020, when all submitted software must meet the original notarization prerequisites?
3
0
533
Jan ’20