Stephane Sudre wrote:
Have you tried removing the Program entry?
That's produced, as far as I can tell, by the SMJobBless process. The file I pass is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.sil.KLMHelper</string>
<key>MachServices</key>
<dict>
<key>org.sil.KLMHelper</key>
<true/>
</dict>
</dict>
</plist>

It's added to the binary with the linker flag -sectcreate __TEXT __launchd_plist (path to the file). The launchd plist is exactly analogous to the tool that is already working, just the identifiers changed.
--
John Brownie
In Finland on furlough from SIL Papua New Guinea
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to