{"id":198,"date":"2026-03-21T22:47:22","date_gmt":"2026-03-21T14:47:22","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/platforms-mac-permissions\/"},"modified":"2026-03-21T23:08:53","modified_gmt":"2026-03-21T15:08:53","slug":"platforms-mac-permissions","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/platforms-mac-permissions\/","title":{"rendered":"macOS \u6743\u9650"},"content":{"rendered":"<h1>macOS \u6743\u9650<\/h1>\n<h1>macOS \u6743\u9650\uff08TCC\uff09<\/h1>\n<p>macOS \u6743\u9650\u6388\u4e88\u662f\u8106\u5f31\u7684\u3002TCC \u5c06\u6743\u9650\u6388\u4e88\u4e0e\u5e94\u7528\u7684\u4ee3\u7801\u7b7e\u540d\u3001Bundle \u6807\u8bc6\u7b26\u548c\u78c1\u76d8\u8def\u5f84\u5173\u8054\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u9879\u53d1\u751f\u53d8\u5316\uff0cmacOS \u4f1a\u5c06\u8be5\u5e94\u7528\u89c6\u4e3a\u65b0\u5e94\u7528\uff0c\u53ef\u80fd\u4f1a\u4e22\u5f03\u6216\u9690\u85cf\u6743\u9650\u63d0\u793a\u3002<\/p>\n<h2>\u7a33\u5b9a\u6743\u9650\u7684\u8981\u6c42<\/h2>\n<ul>\n<li>\u76f8\u540c\u8def\u5f84\uff1a\u4ece\u56fa\u5b9a\u4f4d\u7f6e\u8fd0\u884c\u5e94\u7528\uff08\u5bf9\u4e8e OpenClaw\uff0c\u4e3a <code>dist\/OpenClaw.app<\/code>\uff09\u3002<\/li>\n<li>\u76f8\u540c Bundle \u6807\u8bc6\u7b26\uff1a\u66f4\u6539 Bundle ID \u4f1a\u521b\u5efa\u65b0\u7684\u6743\u9650\u8eab\u4efd\u3002<\/li>\n<li>\u5df2\u7b7e\u540d\u7684\u5e94\u7528\uff1a\u672a\u7b7e\u540d\u6216\u4e34\u65f6\u7b7e\u540d\u7684\u6784\u5efa\u4e0d\u4f1a\u6301\u4e45\u5316\u6743\u9650\u3002<\/li>\n<li>\u4e00\u81f4\u7684\u7b7e\u540d\uff1a\u4f7f\u7528\u771f\u5b9e\u7684 Apple Development \u6216 Developer ID \u8bc1\u4e66\uff0c\u4ee5\u786e\u4fdd\u7b7e\u540d\u5728\u591a\u6b21\u6784\u5efa\u4e4b\u95f4\u4fdd\u6301\u7a33\u5b9a\u3002<\/li>\n<\/ul>\n<p>\u4e34\u65f6\u7b7e\u540d\u6bcf\u6b21\u6784\u5efa\u90fd\u4f1a\u751f\u6210\u65b0\u7684\u8eab\u4efd\u3002macOS \u4f1a\u5fd8\u8bb0\u4e4b\u524d\u7684\u6388\u6743\uff0c\u63d0\u793a\u53ef\u80fd\u5b8c\u5168\u6d88\u5931\uff0c\u76f4\u5230\u6e05\u9664\u8fc7\u671f\u6761\u76ee\u4e3a\u6b62\u3002<\/p>\n<h2>\u6743\u9650\u63d0\u793a\u6d88\u5931\u65f6\u7684\u6062\u590d\u6e05\u5355<\/h2>\n<ol>\n<li>\u9000\u51fa\u5e94\u7528\u3002<\/li>\n<li>\u5728\u7cfb\u7edf\u8bbe\u7f6e -&gt; \u9690\u79c1\u4e0e\u5b89\u5168\u6027\u4e2d\u79fb\u9664\u8be5\u5e94\u7528\u6761\u76ee\u3002<\/li>\n<li>\u4ece\u76f8\u540c\u8def\u5f84\u91cd\u65b0\u542f\u52a8\u5e94\u7528\u5e76\u91cd\u65b0\u6388\u4e88\u6743\u9650\u3002<\/li>\n<li>\u5982\u679c\u63d0\u793a\u4ecd\u672a\u51fa\u73b0\uff0c\u4f7f\u7528 <code>tccutil<\/code> \u91cd\u7f6e TCC \u6761\u76ee\u540e\u91cd\u8bd5\u3002<\/li>\n<li>\u67d0\u4e9b\u6743\u9650\u4ec5\u5728\u5b8c\u5168\u91cd\u542f macOS \u540e\u624d\u4f1a\u91cd\u65b0\u51fa\u73b0\u3002<\/li>\n<\/ol>\n<p>\u91cd\u7f6e\u793a\u4f8b\uff08\u6839\u636e\u9700\u8981\u66ff\u6362 Bundle ID\uff09\uff1a<\/p>\n<p><code>bash  theme={\"theme\":{\"light\":\"min-light\",\"dark\":\"min-dark\"}}<br \/>\nsudo tccutil reset Accessibility bot.molt.mac<br \/>\nsudo tccutil reset ScreenCapture bot.molt.mac<br \/>\nsudo tccutil reset AppleEvents<\/code><\/p>\n<p>\u5982\u679c\u4f60\u6b63\u5728\u6d4b\u8bd5\u6743\u9650\uff0c\u8bf7\u59cb\u7ec8\u4f7f\u7528\u771f\u5b9e\u8bc1\u4e66\u7b7e\u540d\u3002\u4e34\u65f6\u7b7e\u540d\u7684\u6784\u5efa\u4ec5\u9002\u7528\u4e8e\u4e0d\u9700\u8981\u6743\u9650\u7684\u5feb\u901f\u672c\u5730\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>macOS \u6743\u9650 macOS \u6743\u9650\uff08TCC\uff09 macOS \u6743\u9650\u6388\u4e88\u662f\u8106\u5f31\u7684\u3002TCC \u5c06\u6743\u9650\u6388\u4e88\u4e0e\u5e94\u7528\u7684\u4ee3\u7801\u7b7e\u540d [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":1,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"predecessor-version":[{"id":493,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/198\/revisions\/493"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}