From cd6e635e56e7e6baec6f1c9af7b2a09502acdccb Mon Sep 17 00:00:00 2001 From: aperezro Date: Fri, 5 Jun 2026 14:11:17 -0600 Subject: [PATCH] Add iOS bundle metadata --- UnleashedRecomp/CMakeLists.txt | 2 + UnleashedRecomp/res/ios/Info.plist.in | 53 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 UnleashedRecomp/res/ios/Info.plist.in diff --git a/UnleashedRecomp/CMakeLists.txt b/UnleashedRecomp/CMakeLists.txt index 904d0222..a19f502b 100644 --- a/UnleashedRecomp/CMakeLists.txt +++ b/UnleashedRecomp/CMakeLists.txt @@ -311,12 +311,14 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "iOS") VERSION_TXT ${VERSION_TXT} OUTPUT_VAR IOS_BUNDLE_VERSION ) + string(REGEX REPLACE "^v" "" IOS_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}") add_executable(UnleashedRecomp MACOSX_BUNDLE ${UNLEASHED_RECOMP_CXX_SOURCES} ) set_target_properties(UnleashedRecomp PROPERTIES OUTPUT_NAME "Unleashed Recompiled" + MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/res/ios/Info.plist.in MACOSX_BUNDLE_GUI_IDENTIFIER hedge-dev.UnleashedRecomp MACOSX_BUNDLE_BUNDLE_NAME "Unleashed Recompiled" MACOSX_BUNDLE_BUNDLE_VERSION ${IOS_BUNDLE_VERSION} diff --git a/UnleashedRecomp/res/ios/Info.plist.in b/UnleashedRecomp/res/ios/Info.plist.in new file mode 100644 index 00000000..03ec3b92 --- /dev/null +++ b/UnleashedRecomp/res/ios/Info.plist.in @@ -0,0 +1,53 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + Unleashed Recompiled + CFBundleExecutable + ${MACOSX_BUNDLE_EXECUTABLE_NAME} + CFBundleIdentifier + ${MACOSX_BUNDLE_GUI_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${MACOSX_BUNDLE_BUNDLE_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + ${MACOSX_BUNDLE_SHORT_VERSION_STRING} + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + ${MACOSX_BUNDLE_BUNDLE_VERSION} + LSRequiresIPhoneOS + + MinimumOSVersion + 13.0 + UIApplicationSupportsIndirectInputEvents + + UILaunchScreen + + UIRequiredDeviceCapabilities + + arm64 + metal + + UIRequiresFullScreen + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIDeviceFamily + + 1 + 2 + + +