[IMPORTANT Make sure to load the job into the global context by running launchctl using sudo.
Yes. I am running the daemon by adding plist job in /Library/LaunchDaemons through launchctl using sudo.
I packaged the daemon as application and signed it with xcode manual signing process. (filled the details Team, Bundle ID, Provisioning Profile...)
When I run my application on my development machine with provisioning file already installed in system prefrences->Profiles, application runs fine but when i remove profile application did not run.
i am using xcode 12.3
and my app structure is
./sampleOnAccess.app/
./sampleOnAccess.app//Contents
./sampleOnAccess.app//Contents/CodeSignature
./sampleOnAccess.app//Contents/CodeSignature/CodeResources
./sampleOnAccess.app//Contents/MacOS
./sampleOnAccess.app//Contents/MacOS/sampleOnAccess
./sampleOnAccess.app//Contents/embedded.provisionprofile
./sampleOnAccess.app//Contents/Info.plist
./sampleOnAccess.app//Contents/PkgInfo
is any build settings i am missing in xcode or for provision profile?
Topic:
Code Signing
SubTopic:
Entitlements
Tags: