Skip to content

Commit 5b2da48

Browse files
fix(ios): add support for use_frameworks (#201)
1 parent 86ba129 commit 5b2da48

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

example/ios/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ target 'GeolocationExample' do
1717
# to enable hermes on iOS, change `false` to `true` and then install pods
1818
:hermes_enabled => flags[:hermes_enabled],
1919
:fabric_enabled => flags[:fabric_enabled],
20+
:flipper_configuration => FlipperConfiguration.disabled,
2021
# An absolute path to your application root.
2122
:app_path => "#{Pod::Config.instance.installation_root}/.."
2223
)

react-native-geolocation.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Pod::Spec.new do |s|
1818
s.source_files = "ios/**/*.{h,m,mm}"
1919

2020
s.dependency 'React-Core'
21+
s.frameworks = 'CoreLocation'
2122

2223
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
2324
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"

0 commit comments

Comments
 (0)