Skip to content

Commit

Permalink
fix pod
Browse files Browse the repository at this point in the history
  • Loading branch information
罗浩 committed Feb 7, 2021
1 parent 19fd7c1 commit 78e2ff2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ios/RNCodeGenerator.podspec → RNSmartCode.podspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
require 'json'
version = JSON.parse(File.read('../package.json'))["version"]

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|

s.name = "react-native-smart-code"
s.version = version
s.name = "RNSmartCode"
s.version = package["version"]
s.homepage = "https://github.com/RoJoHub/react-native-smart-code"
s.summary = "Support React & ReactNative.In react-native,it's create base64 String,which is qrcode or barcode ,and without webview.In react,we use jsbarcode."
s.license = "MIT"
s.author = { "Jerry.Luo" => "[email protected]" }
s.ios.deployment_target = '7.0'
s.tvos.deployment_target = '9.0'
s.source = { :git => "[email protected]:RoJoHub/react-native-smart-code.git" }
s.source_files = '*/*.{h,m}'
s.preserve_paths = "**/*.js"
s.source_files = 'ios/*/*.{h,m}'
s.preserve_paths = "*.js"

s.dependency 'React'
s.dependency "React"
s.dependency 'React-Core'

end

1 comment on commit 78e2ff2

@hkar19
Copy link

@hkar19 hkar19 commented on 78e2ff2 Feb 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naisu!

Please sign in to comment.