Creating an OS X Service

后端 未结 3 507
一个人的身影
一个人的身影 2021-01-13 16:10

I\'m trying to create an OS X Service. I found Providing System Services in Apple\'s documentation, however I\'m finding it less than clear on what exactly I need to do. I\'

3条回答
  •  半阙折子戏
    2021-01-13 16:51

    Make sure you are launching your app first to get the system to see the Service. Make sure you are registering the services handler in your app using - setServicesProvider:

    Also, check the Console log as that might give you some useful error info.

提交回复
热议问题