diff --git a/example/ios/Podfile b/example/ios/Podfile index 677531fa..5dd13dda 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -17,7 +17,7 @@ prepare_react_native_project! # dependencies: { # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}), # ``` -flipper_config = FlipperConfiguration.disabled +flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled linkage = ENV['USE_FRAMEWORKS'] if linkage != nil @@ -25,8 +25,6 @@ if linkage != nil use_frameworks! :linkage => linkage.to_sym end -use_frameworks! :linkage => :static - target 'LiveMarkdownExample' do config = use_native_modules!