diff --git a/ios/Podfile b/ios/Podfile index b9d0a8b..504255a 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -3,21 +3,27 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ platform :ios, min_ios_version_supported prepare_react_native_project! -# If you are using a react-native-flipper your iOS build will fail when NO_FLIPPER=1 is set. -# because react-native-flipper depends on (FlipperKit,…) that will be excluded + +# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set. +# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded # -# To fix this you can also exclude react-native-flipper using a react-native.config.js -# js -# module.exports = -#. dependencies: -#. …(process.env.NO_FLIPPER ? ‘react-native-flipper’: platforms: iOS: null : ), -# -flipper_config = ENV’NO_FLIPPER’ == “1” ? FlipperConfiguration.disabled : FlipperConfiguration.enabled -linkage = ENV’USE_FRAMEWORKS’ +# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js` +# ```js +# module.exports = { +# dependencies: { +# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}), +# ``` +flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled + +linkage = ENV['USE_FRAMEWORKS'] if linkage != nil - Pod::UI.puts “Configuring Pod with #linkageally linked Frameworks”.green + Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green use_frameworks! :linkage => linkage.to_sym end +<<<<<<< HEAD +======= + +>>>>>>> ac3f6e99e1f4a2b81ad830dbc9d904acc74bee46 target 'ClickAndJoinApp' do config = use_native_modules!