Skip to content

Commit

Permalink
Merge pull request #84 from jacob-meacham/bugfix/framework
Browse files Browse the repository at this point in the history
Fix issue with using ReactNativeFabric in a project that has use_frameworks! turned on.
  • Loading branch information
corymsmith authored Jan 16, 2017
2 parents ba9829a + 45a9d65 commit edd0750
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 edd0750

Please sign in to comment.