diff --git a/ReactNativeFabric.podspec b/ReactNativeFabric.podspec index 1659aa2..1c9d38c 100644 --- a/ReactNativeFabric.podspec +++ b/ReactNativeFabric.podspec @@ -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}'