Hi all,
We have a non sandboxed mac app along with a finder sync app extension. The main goal for this Finder sync app extension is to monitor a folder and display contextual menu items when the user right clicks a file in this location. This works great most of the time however during upgrade/reinstalls we sometimes see duplicate menu items. We have noticed that during these times that there are two Finder sync processes running at the same time and this may be causing the duplicate menu items.
After observing the console logs i can see launchd launching the extension twice. Why is launchd doing this?
I also noticed the most of the time Runningboardd notices that their are duplicated processes running and kills one of them.
Is there anything we can/should do in our app extension that will prevent the launchd from executing the Findersync extension multiple times?
Any help and insight would be greatly apperiated