Skip to content

Commit b85153d

Browse files
MoOxmikehardy
authored andcommitted
[IOS][BUGFIX][podspec] Allow usage with use_frameworks! (#2235)
Ref #252 (comment)
1 parent 9bf9fa1 commit b85153d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ios/RNFirebase.podspec

+6
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@ Pod::Spec.new do |s|
2121
cs.dependency 'Fabric'
2222
cs.dependency 'Crashlytics'
2323
end
24+
# allow this package to be used with use_frameworks!
25+
s.static_framework = true
26+
# fix recursive header flag being skipped by cocoapods when using this as a framework
27+
s.xcconfig = {
28+
'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/Headers/Public/**'
29+
}
2430
end

0 commit comments

Comments
 (0)