Skip to content

Commit

Permalink
Fix iOS installation
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoserranoa committed Jun 30, 2020
1 parent 9650f20 commit ddbf6f3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@

`$ npm install @wootric/react-native-wootric --save`

### Mostly automatic installation
### iOS

Install the `WootricSDK` using Cocoapods

```bash
$ cd ios
$ pod install
```

### ReactNative <= 0.60

As `@wootric/react-native-wootric` contains native codes so requires your project to link our native module library:

Expand Down
9 changes: 4 additions & 5 deletions ios/RNWootric.podspec → RNWootric.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ Pod::Spec.new do |s|
s.description = <<-DESC
RNWootric
DESC
s.homepage = ""
s.homepage = "https://wootric.com"
s.license = "MIT"
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
s.author = { "author" => "author@domain.cn" }
s.author = { "Wootric" => "support@wootric.com" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/author/RNWootric.git", :tag => "master" }
s.source_files = "RNWootric/**/*.{h,m}"
s.source = { :git => "https://github.com/Wootric/RNWootric.git", :tag => s.version.to_s }
s.source_files = "ios/**/*.{h,m}"
s.requires_arc = true


Expand Down

0 comments on commit ddbf6f3

Please sign in to comment.