Commit b08562f4 authored by Qiu Xiang's avatar Qiu Xiang

Update cocoapods config

parent 1579b6cc
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0' platform :ios, '8.0'
target 'Example' do target 'Example' do
pod 'Yoga', path: '../../node_modules/react-native/ReactCommon/yoga/'
pod 'Yoga', path: '../../node_modules/react-native/ReactCommon/yoga/Yoga.podspec' pod 'React', path: '../../node_modules/react-native/'
pod 'React', path: '../../node_modules/react-native/React.podspec'
pod 'react-native-amap3d', path: '../../' pod 'react-native-amap3d', path: '../../'
end end
...@@ -3,17 +3,17 @@ require 'json' ...@@ -3,17 +3,17 @@ require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = "react-native-amap3d" s.name = package['name']
s.version = package['version'] s.version = package['version']
s.summary = "React Native AMap3D component for iOS" s.summary = package['description']
s.authors = { "qiuxiang" => "i@7c00.cc" } s.authors = { "Qiu Xiang" => "i@7c00.cc" }
s.homepage = "https://github.com/qiuxiang/react-native-amap3d" s.homepage = 'https://github.com/qiuxiang/react-native-amap3d#readme'
s.license = "MIT" s.license = package['license']
s.platform = :ios, "8.0" s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/qiuxiang/react-native-amap3d.git" } s.source = { :git => 'https://github.com/qiuxiang/react-native-amap3d.git' }
s.source_files = "ios/**/*.{h,m}" s.source_files = 'ios/**/*.{h,m}'
s.dependency 'React' s.dependency 'React'
s.dependency 'AMap3DMap' s.dependency 'AMap3DMap'
......
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