11 Aug
2013
11 Aug
'13
9:52 p.m.
Hi all, I've got a launch agent working and communicating with it using a terminal command nicely. I'm using NSXPCConnection classes. If I call CGImageSourceCopyPropertiesAtIndex within the launchagent then the launchagent appears in the dock bouncing. Calling CGImageSourceCopyProperties doesn't cause the same issue. I have tried adding to the LaunchAgent's bundle plist the key LSUIElement with a value of YES. This doesn't change the behaviour. The LaunchAgent continues to work properly and the dictionary obtained from calling CGImageSourceCopyPropertiesAtIndex is saved to disk which is what I wanted to happen. I'm linking against frameworks Foundation and ImageIO. Any thoughts as to why? Kevin