Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-amap3d
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-amap3d
Commits
5cf088ee
Commit
5cf088ee
authored
Aug 28, 2018
by
7c00
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update podfile
parent
1d50d6fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
.travis.yml
.travis.yml
+7
-0
README.md
README.md
+8
-0
Podfile
ios/Podfile
+9
-0
No files found.
.travis.yml
View file @
5cf088ee
...
...
@@ -100,6 +100,13 @@ jobs:
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-amap3d', path: '../node_modules/react-native-amap3d/lib/ios'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
end
EOF
-
pod install --repo-update
-
xcodebuild -workspace App.xcworkspace -scheme App -sdk iphonesimulator -quiet
...
...
README.md
View file @
5cf088ee
...
...
@@ -71,6 +71,14 @@ target 'Your Target' do
pod
'react-native-amap3d'
,
path:
'../node_modules/react-native-amap3d/lib/ios'
end
post_install
do
|
installer
|
installer
.
pods_project
.
targets
.
each
do
|
target
|
if
target
.
name
==
"React"
target
.
remove_from_project
end
end
end
```
*注意:不同的 RN 版本,`Podfile` 可能需要稍作调整,具体参考 https://facebook.github.io/react-native/docs/0.52/integration-with-existing-apps.html 。*
...
...
ios/Podfile
View file @
5cf088ee
...
...
@@ -23,3 +23,11 @@ target 'RNAMap3D' do
pod
'react-native-amap3d'
,
path:
'../lib/ios/'
end
post_install
do
|
installer
|
installer
.
pods_project
.
targets
.
each
do
|
target
|
if
target
.
name
==
"React"
target
.
remove_from_project
end
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment