diff --git a/example/ios/Podfile b/example/ios/Podfile index 8275ac1..adf23db 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -17,6 +17,7 @@ target 'GeolocationExample' do # to enable hermes on iOS, change `false` to `true` and then install pods :hermes_enabled => flags[:hermes_enabled], :fabric_enabled => flags[:fabric_enabled], + :flipper_configuration => FlipperConfiguration.disabled, # An absolute path to your application root. :app_path => "#{Pod::Config.instance.installation_root}/.." ) diff --git a/react-native-geolocation.podspec b/react-native-geolocation.podspec index b4deb09..a319e73 100644 --- a/react-native-geolocation.podspec +++ b/react-native-geolocation.podspec @@ -18,6 +18,7 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m,mm}" s.dependency 'React-Core' + s.frameworks = 'CoreLocation' if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"