alpha
Jan Umbach 2023-03-07 14:25:58 +01:00
commit a86fcb4c0d
1 changed files with 17 additions and 11 deletions

View File

@ -3,21 +3,27 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
platform :ios, min_ios_version_supported platform :ios, min_ios_version_supported
prepare_react_native_project! 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 # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# js # ```js
# module.exports = # module.exports = {
#. dependencies: # dependencies: {
#. …(process.env.NO_FLIPPER ? react-native-flipper: platforms: iOS: null : ), # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# # ```
flipper_config = ENVNO_FLIPPER == “1” ? FlipperConfiguration.disabled : FlipperConfiguration.enabled flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
linkage = ENVUSE_FRAMEWORKS
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil 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 use_frameworks! :linkage => linkage.to_sym
end end
<<<<<<< HEAD
=======
>>>>>>> ac3f6e99e1f4a2b81ad830dbc9d904acc74bee46
target 'ClickAndJoinApp' do target 'ClickAndJoinApp' do
config = use_native_modules! config = use_native_modules!