Skip to content

Commit 8fd4390

Browse files
authored
fix: Adjust default plist values for net6 mobile targets
1 parent eed7596 commit 8fd4390

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

src/SolutionTemplate/UnoSolutionTemplate.net6/Mobile/MacCatalyst/Info.plist

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CFBundleName</key>
6+
<string>$ext_safeprojectname$</string>
57
<key>CFBundleDisplayName</key>
68
<string>$ext_safeprojectname$</string>
79
<key>CFBundleIdentifier</key>
@@ -12,9 +14,10 @@
1214
<string>1.0</string>
1315
<key>UIDeviceFamily</key>
1416
<array>
15-
<integer>1</integer>
1617
<integer>2</integer>
1718
</array>
19+
<key>LSApplicationCategoryType</key>
20+
<string>public.app-category.utilities</string>
1821
<key>UILaunchStoryboardName</key>
1922
<string>LaunchScreen</string>
2023
<key>UISupportedInterfaceOrientations</key>
@@ -29,5 +32,12 @@
2932
<array>
3033
<string>Fonts/uno-fluentui-assets.ttf</string>
3134
</array>
35+
36+
<!--
37+
Adjust this to your application's encryption usage.
38+
<key>ITSAppUsesNonExemptEncryption</key>
39+
<false/>
40+
-->
41+
3242
</dict>
3343
</plist>

src/SolutionTemplate/UnoSolutionTemplate.net6/Mobile/iOS/Info.plist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,15 @@
4949
<string>Portrait</string>
5050
<key>UILaunchImageSize</key>
5151
<string>{320, 568}</string>
52+
<key>XSAppIconAssets</key>
53+
<string>Media.xcassets/AppIcons.appiconset</string>
5254
<key>UIApplicationSupportsIndirectInputEvents</key>
5355
<true/>
56+
57+
<!--
58+
Adjust this to your application's encryption usage.
59+
<key>ITSAppUsesNonExemptEncryption</key>
60+
<false/>
61+
-->
5462
</dict>
5563
</plist>

src/SolutionTemplate/UnoSolutionTemplate.net6/Mobile/macOS/Info.plist

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,21 @@
1818
<string>APPL</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
21+
<key>LSApplicationCategoryType</key>
22+
<string>public.app-category.utilities</string>
2123
<key>NSHumanReadableCopyright</key>
2224
<string>${AuthorCopyright:HtmlEncode}</string>
2325
<key>NSPrincipalClass</key>
2426
<string>NSApplication</string>
2527
<key>XSAppIconAssets</key>
26-
<string>Assets.xcassets/AppIcon.appiconset</string>
28+
<string>Assets.xcassets/AppIcons.appiconset</string>
2729
<key>ATSApplicationFontsPath</key>
2830
<string>Fonts/uno-fluentui-assets.ttf</string>
31+
32+
<!--
33+
Adjust this to your application's encryption usage.
34+
<key>ITSAppUsesNonExemptEncryption</key>
35+
<false/>
36+
-->
2937
</dict>
3038
</plist>

0 commit comments

Comments
 (0)