Skip to content

OSX Sandbox - Container - Enable managed file access #1662

Closed Answered by rh101
IcemarkUK asked this question in Q&A
Discussion options

You must be logged in to vote

In [axmol]/cmake/Modules/AXBuildHelpers.cmake, take a look at the function ax_setup_app_config:

if(APPLE)
    # output macOS/iOS .app
    set_target_properties(${app_name} PROPERTIES MACOSX_BUNDLE 1)
    if(IOS AND (NOT ("${CMAKE_OSX_SYSROOT}" MATCHES ".*simulator.*")))
        set_xcode_property(${app_name} CODE_SIGNING_REQUIRED "YES")
        set_xcode_property(${app_name} CODE_SIGNING_ALLOWED "YES")
    else()
        # By default, explicit disable codesign for macOS PC
        set_xcode_property(${app_name} CODE_SIGN_IDENTITY "")
        set_xcode_property(${app_name} CODE_SIGNING_ALLOWED "NO") <= try commenting this line out, or set it to YES
        set_xcode_property(${app_name} CO…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@IcemarkUK
Comment options

@rh101
Comment options

rh101 Feb 10, 2024
Collaborator

Answer selected by IcemarkUK
@IcemarkUK
Comment options

@IcemarkUK
Comment options

@rh101
Comment options

rh101 Feb 11, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants