浏览代码

macOS debug: Sync entitlements with current 3.4/master

(cherry picked from commit ffd88e48a7d6e87b8783a13891110c75870a34c9)
Rémi Verschelde 3 年之前
父节点
当前提交
d899012135
共有 1 个文件被更改,包括 10 次插入4 次删除
  1. 10 4
      development/cpp/macos_debug.rst

+ 10 - 4
development/cpp/macos_debug.rst

@@ -7,7 +7,7 @@ Debugging Godot editor
 Attaching a debugger to the signed macOS process requires the "com.apple.security.get-task-allow" entitlement, which is not enabled by default, since apps can't be notarized as long as it is enabled.
 Attaching a debugger to the signed macOS process requires the "com.apple.security.get-task-allow" entitlement, which is not enabled by default, since apps can't be notarized as long as it is enabled.
 If you want to debug an official build of the editor it should be re-signed with the proper entitlements.
 If you want to debug an official build of the editor it should be re-signed with the proper entitlements.
 
 
-Create a ``editor.entitlements`` text file with the following contents:
+Create an ``editor.entitlements`` text file with the following contents:
 
 
 .. code-block:: xml
 .. code-block:: xml
 
 
@@ -15,13 +15,19 @@ Create a ``editor.entitlements`` text file with the following contents:
     <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     <plist version="1.0">
     <plist version="1.0">
         <dict>
         <dict>
-            <key>com.apple.security.device.audio-input</key>
+            <key>com.apple.security.cs.allow-dyld-environment-variables</key>
             <true/>
             <true/>
-            <key>com.apple.security.device.camera</key>
+            <key>com.apple.security.cs.allow-jit</key>
+            <true/>
+            <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
+            <true/>
+            <key>com.apple.security.cs.disable-executable-page-protection</key>
             <true/>
             <true/>
             <key>com.apple.security.cs.disable-library-validation</key>
             <key>com.apple.security.cs.disable-library-validation</key>
             <true/>
             <true/>
-            <key>com.apple.security.get-task-allow</key>
+            <key>com.apple.security.device.audio-input</key>
+            <true/>
+            <key>com.apple.security.device.camera</key>
             <true/>
             <true/>
         </dict>
         </dict>
     </plist>
     </plist>