Skip to content

Commit

Permalink
Fix issue with using ReactNativeFabric in a project that has use_fram…
Browse files Browse the repository at this point in the history
…eworks! turned on.
  • Loading branch information
jacob-meacham committed Dec 10, 2016
1 parent 4fb6023 commit 45a9d65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ReactNativeFabric.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Pod::Spec.new do |s|
s.dependency 'React'
s.dependency 'Fabric'
s.dependency 'Crashlytics'
s.ios.xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/Crashlytics/iOS" "${PODS_ROOT}/Fabric/iOS"',
'OTHER_LDFLAGS' => '-framework Crashlytics -framework Fabric'
}

s.preserve_paths = 'README.md', 'LICENSE', 'package.json'
s.source_files = 'ios/**/*.{h,m}'
Expand Down

0 comments on commit 45a9d65

Please sign in to comment.