From ddf7135f1c413f2647877546767ca440c4369060 Mon Sep 17 00:00:00 2001 From: Jhen-Jie Hong Date: Wed, 6 Nov 2024 10:26:23 +0800 Subject: [PATCH] feat(example): no flipper by default for ios --- example/ios/.xcode.env.local | 2 +- example/ios/Podfile | 11 +---------- example/ios/Podfile.lock | 6 +++--- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/example/ios/.xcode.env.local b/example/ios/.xcode.env.local index 347de30..12b13b2 100644 --- a/example/ios/.xcode.env.local +++ b/example/ios/.xcode.env.local @@ -1 +1 @@ -export NODE_BINARY=/var/folders/4z/1d45cfts3936kdm7v9jl349r0000gn/T/yarn--1730697817603-0.6786179339916347/node +export NODE_BINARY=/var/folders/4z/1d45cfts3936kdm7v9jl349r0000gn/T/yarn--1730859907282-0.2156595720676977/node diff --git a/example/ios/Podfile b/example/ios/Podfile index 17ef651..011b69e 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -8,16 +8,7 @@ require Pod::Executable.execute_command('node', ['-p', 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 -# -# 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 +flipper_config = ENV['USE_FLIPPER'] != "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled linkage = ENV['USE_FRAMEWORKS'] if linkage != nil diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 1827ea6..fa10b28 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -8,7 +8,7 @@ PODS: - hermes-engine/Pre-built (= 0.72.3) - hermes-engine/Pre-built (0.72.3) - libevent (2.1.12) - - llama-rn (0.3.11): + - llama-rn (0.4.0): - RCT-Folly - RCTRequired - RCTTypeSafety @@ -1261,7 +1261,7 @@ SPEC CHECKSUMS: glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b hermes-engine: 10fbd3f62405c41ea07e71973ea61e1878d07322 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 - llama-rn: 07a172eaad49cc56323f326e4c3ce3ec734b6a9e + llama-rn: d935a3e23a8c1bb15ca58578af852c16d608bcaa RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 RCTRequired: a2faf4bad4e438ca37b2040cb8f7799baa065c18 RCTTypeSafety: cb09f3e4747b6d18331a15eb05271de7441ca0b3 @@ -1305,6 +1305,6 @@ SPEC CHECKSUMS: SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Yoga: 8796b55dba14d7004f980b54bcc9833ee45b28ce -PODFILE CHECKSUM: e85f4f0de2f3382c406a75702d5f126a993a8dde +PODFILE CHECKSUM: cf6cc1e14840d7bc13c75e90df0f55023f1d4ad2 COCOAPODS: 1.15.2