Skip to content

Commit cd6e635

Browse files
committed
Add iOS bundle metadata
1 parent ed6cd3c commit cd6e635

2 files changed

Lines changed: 55 additions & 0 deletions

File tree

UnleashedRecomp/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,12 +311,14 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "iOS")
311311
VERSION_TXT ${VERSION_TXT}
312312
OUTPUT_VAR IOS_BUNDLE_VERSION
313313
)
314+
string(REGEX REPLACE "^v" "" IOS_BUNDLE_VERSION "${IOS_BUNDLE_VERSION}")
314315

315316
add_executable(UnleashedRecomp MACOSX_BUNDLE
316317
${UNLEASHED_RECOMP_CXX_SOURCES}
317318
)
318319
set_target_properties(UnleashedRecomp PROPERTIES
319320
OUTPUT_NAME "Unleashed Recompiled"
321+
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/res/ios/Info.plist.in
320322
MACOSX_BUNDLE_GUI_IDENTIFIER hedge-dev.UnleashedRecomp
321323
MACOSX_BUNDLE_BUNDLE_NAME "Unleashed Recompiled"
322324
MACOSX_BUNDLE_BUNDLE_VERSION ${IOS_BUNDLE_VERSION}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>Unleashed Recompiled</string>
9+
<key>CFBundleExecutable</key>
10+
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
17+
<key>CFBundlePackageType</key>
18+
<string>APPL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
21+
<key>CFBundleSupportedPlatforms</key>
22+
<array>
23+
<string>iPhoneOS</string>
24+
</array>
25+
<key>CFBundleVersion</key>
26+
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
27+
<key>LSRequiresIPhoneOS</key>
28+
<true/>
29+
<key>MinimumOSVersion</key>
30+
<string>13.0</string>
31+
<key>UIApplicationSupportsIndirectInputEvents</key>
32+
<true/>
33+
<key>UILaunchScreen</key>
34+
<dict/>
35+
<key>UIRequiredDeviceCapabilities</key>
36+
<array>
37+
<string>arm64</string>
38+
<string>metal</string>
39+
</array>
40+
<key>UIRequiresFullScreen</key>
41+
<true/>
42+
<key>UISupportedInterfaceOrientations</key>
43+
<array>
44+
<string>UIInterfaceOrientationLandscapeLeft</string>
45+
<string>UIInterfaceOrientationLandscapeRight</string>
46+
</array>
47+
<key>UIDeviceFamily</key>
48+
<array>
49+
<integer>1</integer>
50+
<integer>2</integer>
51+
</array>
52+
</dict>
53+
</plist>

0 commit comments

Comments
 (0)