Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 将应用嵌入Safari扩展包后出错_Macos_Safari_Bundle - Fatal编程技术网

Macos 将应用嵌入Safari扩展包后出错

Macos 将应用嵌入Safari扩展包后出错,macos,safari,bundle,Macos,Safari,Bundle,我正在开发Safari扩展(.appex,嵌入在.app中)。只要我在Content/MacOS上捆绑了一个Electron.app,甚至没有调用它,Safari就不会在日志中加载扩展: com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.WebContent.18097): Path not allowed in target domain: type = pid, path = /Library/Apple/System/Li

我正在开发Safari扩展(.appex,嵌入在.app中)。只要我在Content/MacOS上捆绑了一个Electron.app,甚至没有调用它,Safari就不会在日志中加载扩展:

com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.WebContent.18097): Path not allowed in target domain: type = pid, path = /Library/Apple/System/Library/StagedFrameworks/Safari/SafariShared.framework/Versions/A/XPCServices/com.apple.Safari.SearchHelper.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Library/Apple/System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc
com.apple.xpc.launchd[1] (org.my.extension[18088]): Service exited due to SIGKILL | sent by launchd[1]
有什么问题吗