Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

macOS에서 실행 중

프로젝트 준비하기

서명된 macOS 프로세스에 디버거를 연결하려면 "com.apple.security.get-task-allow" 권한이 필요합니다. 이는 활성화된 한 앱을 공증할 수 없기 때문에 기본적으로 활성화되지 않습니다. 편집기의 공식 빌드를 디버깅하려면 적절한 권한으로 다시 서명해야 합니다.

만들기 an editor.entitlements text file with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>com.apple.security.cs.allow-dyld-environment-variables</key>
        <true/>
        <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/>
        <key>com.apple.security.cs.disable-library-validation</key>
        <true/>
        <key>com.apple.security.device.audio-input</key>
        <true/>
        <key>com.apple.security.device.camera</key>
        <true/>
        <key>com.apple.security.get-task-allow</key>
        <true/>
    </dict>
</plist>

외부 편집기를 설정하는 방법은 아래 구획들을 확인하세요:

codesign -s - --deep --force --options=runtime --entitlements ./editor.entitlements ./path/to/Godot.app

프로젝트 준비하기

디버깅을 허용하려면 내보내기 중에 codesign\debugging``(``com.apple.security.get-task-allow) 자격을 선택합니다. 이를 선택하면 공증이 지원되지 않으므로 비활성화해야 합니다.