Request more memory from the system on iPad

This commit is contained in:
Alex Zenla 2024-09-08 21:25:45 -04:00
parent b6085c8f1c
commit f8a80c6b38
No known key found for this signature in database
GPG Key ID: 067B238899B51269
2 changed files with 15 additions and 1 deletions

View File

@ -94,9 +94,11 @@ target_compile_definitions(Voxelotl PRIVATE $<$<CONFIG:Debug>:DEBUG>)
if(VOXELOTL_MOBILE_ENABLED)
set(VOXELOTL_APPICON "AppIconMobile")
set(VOXELOTL_RPATH "@loader_path/Frameworks")
set(VOXELOTL_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/MobileVoxelotl.entitlements")
else()
set(VOXELOTL_APPICON "AppIcon")
set(VOXELOTL_RPATH "@loader_path/../Frameworks")
set(VOXELOTL_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/Voxelotl.entitlements")
endif()
set_target_properties(Voxelotl PROPERTIES
@ -116,7 +118,7 @@ set_target_properties(Voxelotl PROPERTIES
XCODE_ATTRIBUTE_INSTALL_PATH "$(LOCAL_APPS_DIR)"
XCODE_GENERATE_SCHEME ON
XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE "Metal"
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/Voxelotl.entitlements"
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${VOXELOTL_ENTITLEMENTS}"
MACOSX_BUNDLE_COPYRIGHT "© 2024 Gay Pizza Specifications")
if(VOXELOTL_MOBILE_ENABLED)

View File

@ -0,0 +1,12 @@
<?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.app-sandbox</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.developer.kernel.increased-memory-limit</key>
<true/>
</dict>
</plist>