File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Mostly automatic installation from npm
4444
4545``` bash
4646yarn add react-native-text-size
47- react-native link react-native-text-size
47+ npx pod-install
4848```
4949
5050** Requirements:**
@@ -54,8 +54,6 @@ react-native link react-native-text-size
5454
5555For versions prior to 0.56 of React Native, please use [ react-native-text-size v2.1.1] ( https://www.npmjs.com/package/react-native-text-size/v/2.1.1 )
5656
57- See [ Manual Installation] [ 2 ] on the Wiki as an alternative if you have problems with automatic installation.
58-
5957## API
6058
6159- [ ` measure ` ] ( #measure )
Original file line number Diff line number Diff line change 11require 'json'
2- package = JSON . parse ( File . read ( '.. /package.json' ) )
2+ package = JSON . parse ( File . read ( './package.json' ) )
33
44Pod ::Spec . new do |s |
55 s . name = 'RNTextSize'
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414 s . author = package [ 'author' ]
1515 s . platform = :ios , '9.0'
1616 s . source = { :git => package [ 'repository' ] , :tag => "v#{ s . version } " }
17- s . source_files = '*.{h,m}'
17+ s . source_files = 'ios/ *.{h,m}'
1818 s . requires_arc = true
1919
2020 s . dependency 'React'
You can’t perform that action at this time.
0 commit comments