Mac系统服务 - 应用程序“(null) [英] Mac System Services - application "(null)"

查看:1190
本文介绍了Mac系统服务 - 应用程序“(null)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题是,我添加了我的应用程序到系统服务,它是工作正常,但现在,当我选择文本,去服务菜单,选择我的应用程序系统说这样:



无法使用服务xxx,因为应用程序(null)与计算机不兼容。



我已经修改了代码,一切似乎都确定,在bps结果中我的应用程序看起来不错。 p>

解决方案

我可以通过执行以下操作来解决这个问题:



并删除相关应用程序的所有痕迹。



杀死启动服务: /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks / LaunchServices.framework / Support / lsregister -kill



,然后:



重新安装应用程序时,请确保它已从dmg安装。这是什么导致我和一个同事的问题....安装我们的应用程序不是从dmg。不确定为什么,但这为我们固定。


The problem is that I added my app to the system services and it was working fine, but, now, when I select the text, go to the Services menu and select my app the system says something like that:

"The service "xxx" could not be used because the application "(null)" is not compatible with the computer".

I have revised the code and everything seems to be ok, and in the bps results my app looks fine.

Any ideas of what can be happening?

解决方案

I was able to fix this by doing the following:

Uninstall and remove all traces of the application in question.

Kill Launch Services: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Support/lsregister -kill

and then:

When reinstalling the app, make sure it's being installed from a dmg. This is what caused the problem for me and a coworker....installing our app not from the dmg. Not sure why but this fixed it for us.

这篇关于Mac系统服务 - 应用程序“(null)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆