From 22a23222ce515b5b987532916a9d0475dbc7719e Mon Sep 17 00:00:00 2001 From: Think Wu Date: Tue, 18 Feb 2020 11:10:52 +0800 Subject: [PATCH] update project settings --- .idea/runConfigurations/example_android.xml | 14 ++++++++++++++ .idea/runConfigurations/example_ios.xml | 14 ++++++++++++++ example/package.json | 1 + iOS/RCTMaterialKit.xcodeproj/project.pbxproj | 4 ---- 4 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 .idea/runConfigurations/example_android.xml create mode 100644 .idea/runConfigurations/example_ios.xml diff --git a/.idea/runConfigurations/example_android.xml b/.idea/runConfigurations/example_android.xml new file mode 100644 index 00000000..1189b445 --- /dev/null +++ b/.idea/runConfigurations/example_android.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/example_ios.xml b/.idea/runConfigurations/example_ios.xml new file mode 100644 index 00000000..a4912783 --- /dev/null +++ b/.idea/runConfigurations/example_ios.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/example/package.json b/example/package.json index 50995454..eb77d64f 100644 --- a/example/package.json +++ b/example/package.json @@ -4,6 +4,7 @@ "private": true, "scripts": { "start": "react-native start", + "prestart": "npm run --prefix .. build", "cli": "react-native", "devices": "xcrun simctl list && adb devices", "ios": "yarn cli run-ios", diff --git a/iOS/RCTMaterialKit.xcodeproj/project.pbxproj b/iOS/RCTMaterialKit.xcodeproj/project.pbxproj index 57089226..2ce7d0fd 100644 --- a/iOS/RCTMaterialKit.xcodeproj/project.pbxproj +++ b/iOS/RCTMaterialKit.xcodeproj/project.pbxproj @@ -197,9 +197,7 @@ "\"$(inherited)\"", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, "\"$(SRCROOT)/../../../ios/Pods/Headers/Public\"/**", - "\"${SRCROOT}/../../react-native/ReactCommon\"/**", "\"$(SRCROOT)/../example/ios/Pods/Headers/Public\"/**", - "\"${SRCROOT}/../example/node_modules/react-native/ReactCommon\"/**", ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; @@ -241,9 +239,7 @@ "\"$(inherited)\"", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, "\"$(SRCROOT)/../../../ios/Pods/Headers/Public\"/**", - "\"${SRCROOT}/../../react-native/ReactCommon\"/**", "\"$(SRCROOT)/../example/ios/Pods/Headers/Public\"/**", - "\"${SRCROOT}/../example/node_modules/react-native/ReactCommon\"/**", ); IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO;