Skip to content

Commit c4785de

Browse files
authored
Merge pull request #73 from tspop/master
Correct cocoapods source_files path + Cocoapods install instructions
2 parents 356c1ce + dc02bda commit c4785de

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ or
7777
3. In XCode, in the project navigator, select your project. Add `libReactNativeExceptionHandler.a` to your project's `Build Phases``Link Binary With Libraries`
7878
4. Run your project (`Cmd+R`)<
7979

80+
##### Using Cocoapods
81+
1. add `pod 'ReactNativeExceptionHandler', :podspec => '../node_modules/react-native-exception-handler/ios/ReactNativeExceptionHandler.podspec'` to your Podfile
82+
2. run `pod install`
83+
8084
#### Android
8185

8286
1. Open up `android/app/src/main/java/[...]/MainApplication.java`

ios/ReactNativeExceptionHandler.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.author = { "Atul R" => "atulanand94@gmail.com" }
1313
s.platform = :ios, "7.0"
1414
s.source = { :git => "https://github.com/master-atul/react-native-exception-handler.git", :tag => "master" }
15-
s.source_files = "*.{h,m}"
15+
s.source_files = "ios/*.{h,m}"
1616
s.requires_arc = true
1717

1818
s.dependency "React"

0 commit comments

Comments
 (0)