Commit 6971c62f authored by 7c00's avatar 7c00

更新依赖

parent db4fb0a4
## 安装依赖 ## 安装依赖
推荐使用 npm@5+
``` ```
$ npm i $ yarn
``` ```
## Android ## Android
``` ```
$ npm run android $ yarn run-android
``` ```
...@@ -18,7 +16,7 @@ $ npm run android ...@@ -18,7 +16,7 @@ $ npm run android
``` ```
$ cd ios && pod install && cd .. $ cd ios && pod install && cd ..
$ npm run ios $ yarn run-ios
``` ```
......
...@@ -5,14 +5,14 @@ PODS: ...@@ -5,14 +5,14 @@ PODS:
- AMapNavi (5.2.1): - AMapNavi (5.2.1):
- AMap3DMap (>= 5.2.1) - AMap3DMap (>= 5.2.1)
- AMapFoundation (~> 1.4) - AMapFoundation (~> 1.4)
- React (0.51.0): - React (0.52.1):
- React/Core (= 0.51.0) - React/Core (= 0.52.1)
- react-native-amap3d (0.11.0): - react-native-amap3d (0.11.0):
- AMapNavi - AMapNavi
- React - React
- React/Core (0.51.0): - React/Core (0.52.1):
- yoga (= 0.51.0.React) - yoga (= 0.52.1.React)
- yoga (0.51.0.React) - yoga (0.52.1.React)
DEPENDENCIES: DEPENDENCIES:
- React (from `../node_modules/react-native/`) - React (from `../node_modules/react-native/`)
...@@ -21,20 +21,20 @@ DEPENDENCIES: ...@@ -21,20 +21,20 @@ DEPENDENCIES:
EXTERNAL SOURCES: EXTERNAL SOURCES:
React: React:
:path: "../node_modules/react-native/" :path: ../node_modules/react-native/
react-native-amap3d: react-native-amap3d:
:path: "../../ios/" :path: ../../ios/
yoga: yoga:
:path: "../node_modules/react-native/ReactCommon/yoga/" :path: ../node_modules/react-native/ReactCommon/yoga/
SPEC CHECKSUMS: SPEC CHECKSUMS:
AMap3DMap: 0614b5b7ed7a8b69f1d9ba7bc40ce30362497dc5 AMap3DMap: 0614b5b7ed7a8b69f1d9ba7bc40ce30362497dc5
AMapFoundation: 6c0471c9a6a0ad17dad46e3d800ad56ca170f82a AMapFoundation: 6c0471c9a6a0ad17dad46e3d800ad56ca170f82a
AMapNavi: bb4d65295ed0ee0ad4b5f5792e9e2ea0e5117ffa AMapNavi: bb4d65295ed0ee0ad4b5f5792e9e2ea0e5117ffa
React: 352f02f1db6e4744f9a758527e13e3fdefbbd6ba React: 43e97926f429d846050880666de1809e22dd5cc5
react-native-amap3d: 31162f38ffa3b97dcd4775ebe86c1352bb12d611 react-native-amap3d: 1fba65c52b1e81945cec4fb1b1cb3b0d05cafad9
yoga: b5d96400ca8b2936965a7a6516da7c1177f432a3 yoga: 55da126afc384965b96bff46652464373b330add
PODFILE CHECKSUM: 518cbe237be8affd35ed7429281ba62b78ae3b2c PODFILE CHECKSUM: 518cbe237be8affd35ed7429281ba62b78ae3b2c
COCOAPODS: 1.2.0 COCOAPODS: 1.4.0
...@@ -1061,9 +1061,14 @@ ...@@ -1061,9 +1061,14 @@
files = ( files = (
); );
inputPaths = ( inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-RNAMap3D/Pods-RNAMap3D-resources.sh",
"${PODS_ROOT}/AMap3DMap/MAMapKit.framework/AMap.bundle",
"${PODS_ROOT}/AMapNavi/AMapNaviKit.framework/AMapNavi.bundle",
); );
name = "[CP] Copy Pods Resources"; name = "[CP] Copy Pods Resources";
outputPaths = ( outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AMap.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AMapNavi.bundle",
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
...@@ -1076,13 +1081,16 @@ ...@@ -1076,13 +1081,16 @@
files = ( files = (
); );
inputPaths = ( inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
); );
name = "[CP] Check Pods Manifest.lock"; name = "[CP] Check Pods Manifest.lock";
outputPaths = ( outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-RNAMap3D-checkManifestLockResult.txt",
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
/* End PBXShellScriptBuildPhase section */ /* End PBXShellScriptBuildPhase section */
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
"scripts": { "scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start", "start": "node node_modules/react-native/local-cli/cli.js start",
"reload": "adb reverse tcp:8081 tcp:8081 && adb shell input text rr", "reload": "adb reverse tcp:8081 tcp:8081 && adb shell input text rr",
"android": "node node_modules/react-native/local-cli/cli.js run-android", "run-android": "node node_modules/react-native/local-cli/cli.js run-android",
"log-android": "node node_modules/react-native/local-cli/cli.js log-android", "log-android": "node node_modules/react-native/local-cli/cli.js log-android",
"ios": "node node_modules/react-native/local-cli/cli.js run-ios" "run-ios": "node node_modules/react-native/local-cli/cli.js run-ios"
}, },
"dependencies": { "dependencies": {
"react": "16.0.0", "react": "^16.2.0",
"react-native": "0.51.0", "react-native": "^0.52.0",
"react-native-amap3d": "github:qiuxiang/react-native-amap3d", "react-native-amap3d": "*",
"react-navigation": "^1.0.0-beta.23" "react-navigation": "^1.0.0-beta.23"
}, },
"devDependencies": { "devDependencies": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment