Skip to content

Commit e760e0b

Browse files
committed
feat: migrate iOS
1 parent 43df818 commit e760e0b

3 files changed

Lines changed: 532 additions & 308 deletions

File tree

example/ios/LiveMarkdownExample.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
);
182182
runOnlyForDeploymentPostprocessing = 0;
183183
shellPath = /bin/sh;
184-
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
184+
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"\\\"$WITH_ENVIRONMENT\\\" \\\"$REACT_NATIVE_XCODE\\\"\"\n";
185185
};
186186
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
187187
isa = PBXShellScriptBuildPhase;
@@ -368,6 +368,7 @@
368368
);
369369
MTL_ENABLE_DEBUG_INFO = YES;
370370
ONLY_ACTIVE_ARCH = YES;
371+
OTHER_CFLAGS = "$(inherited)";
371372
OTHER_CPLUSPLUSFLAGS = (
372373
"$(OTHER_CFLAGS)",
373374
"-DFOLLY_NO_CONFIG",
@@ -440,6 +441,7 @@
440441
"\"$(inherited)\"",
441442
);
442443
MTL_ENABLE_DEBUG_INFO = NO;
444+
OTHER_CFLAGS = "$(inherited)";
443445
OTHER_CPLUSPLUSFLAGS = (
444446
"$(OTHER_CFLAGS)",
445447
"-DFOLLY_NO_CONFIG",

example/ios/LiveMarkdownExample/Info.plist

Lines changed: 2 additions & 0 deletions
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>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>en</string>
79
<key>CFBundleDisplayName</key>

0 commit comments

Comments
 (0)