File tree 2 files changed +3
-5
lines changed
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
44
44
45
45
``` bash
46
46
yarn add react-native-text-size
47
- react-native link react-native-text-size
47
+ npx pod-install
48
48
```
49
49
50
50
** Requirements:**
@@ -54,8 +54,6 @@ react-native link react-native-text-size
54
54
55
55
For 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 )
56
56
57
- See [ Manual Installation] [ 2 ] on the Wiki as an alternative if you have problems with automatic installation.
58
-
59
57
## API
60
58
61
59
- [ ` measure ` ] ( #measure )
Original file line number Diff line number Diff line change 1
1
require 'json'
2
- package = JSON . parse ( File . read ( '.. /package.json' ) )
2
+ package = JSON . parse ( File . read ( './package.json' ) )
3
3
4
4
Pod ::Spec . new do |s |
5
5
s . name = 'RNTextSize'
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
14
14
s . author = package [ 'author' ]
15
15
s . platform = :ios , '9.0'
16
16
s . source = { :git => package [ 'repository' ] , :tag => "v#{ s . version } " }
17
- s . source_files = '*.{h,m}'
17
+ s . source_files = 'ios/ *.{h,m}'
18
18
s . requires_arc = true
19
19
20
20
s . dependency 'React'
You can’t perform that action at this time.
0 commit comments