Skip to content

Commit baa238d

Browse files
authored
Merge pull request #1050 from hieuwu/feature/fix-ios-launch-fail
Fix Chat sample launch fails on iOS
2 parents 1c7d384 + 038d6f6 commit baa238d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

sample/chat-demo-mpp/ios/chatdemoios.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
6581F1552B36C0D000BA34A9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2121
6581F1572B36C0D000BA34A9 /* chatdemoios.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = chatdemoios.entitlements; sourceTree = "<group>"; };
2222
6581F1592B36C0D000BA34A9 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
23+
65E1CD792E79AA2500DACC1A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
2324
/* End PBXFileReference section */
2425

2526
/* Begin PBXFrameworksBuildPhase section */
@@ -52,6 +53,7 @@
5253
6581F1502B36C0CF00BA34A9 /* chatdemoios */ = {
5354
isa = PBXGroup;
5455
children = (
56+
65E1CD792E79AA2500DACC1A /* Info.plist */,
5557
6581F1512B36C0CF00BA34A9 /* chatdemoiosApp.swift */,
5658
6581F1532B36C0CF00BA34A9 /* ContentView.swift */,
5759
6581F1552B36C0D000BA34A9 /* Assets.xcassets */,
@@ -300,6 +302,8 @@
300302
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../common/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
301303
GENERATE_INFOPLIST_FILE = YES;
302304
HEADER_SEARCH_PATHS = "";
305+
INFOPLIST_FILE = chatdemoios/Info.plist;
306+
INFOPLIST_KEY_LSApplicationCategoryType = "";
303307
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
304308
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
305309
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
@@ -341,6 +345,8 @@
341345
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../common/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
342346
GENERATE_INFOPLIST_FILE = YES;
343347
HEADER_SEARCH_PATHS = "";
348+
INFOPLIST_FILE = chatdemoios/Info.plist;
349+
INFOPLIST_KEY_LSApplicationCategoryType = "";
344350
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES;
345351
"INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES;
346352
"INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)