@@ -8,17 +8,6 @@ require Pod::Executable.execute_command('node', ['-p',
8
8
platform :ios , min_ios_version_supported
9
9
prepare_react_native_project!
10
10
11
- # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
12
- # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
13
- #
14
- # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
15
- # ```js
16
- # module.exports = {
17
- # dependencies: {
18
- # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
19
- # ```
20
- flipper_config = ENV [ 'NO_FLIPPER' ] == "1" ? FlipperConfiguration . disabled : FlipperConfiguration . enabled
21
-
22
11
linkage = ENV [ 'USE_FRAMEWORKS' ]
23
12
if linkage != nil
24
13
Pod ::UI . puts "Configuring Pod with #{ linkage } ally linked Frameworks" . green
@@ -42,16 +31,10 @@ target 'SampleApp' do
42
31
# Beginning with firebase-ios-sdk v9+ (react-native-firebase v15+) we must tell CocoaPods to use frameworks.
43
32
# https://rnfirebase.io/#altering-cocoapods-to-use-frameworks
44
33
use_frameworks! :linkage => :static
45
- # Note: must disable flipper due to enabling static linkage
46
34
$RNFirebaseAsStaticFramework = true
47
35
48
36
use_react_native! (
49
37
:path => config [ :reactNativePath ] ,
50
- # Enables Flipper.
51
- #
52
- # Note that if you have use_frameworks! enabled, Flipper will not work and
53
- # you should disable the next line.
54
- # :flipper_configuration => flipper_config,
55
38
# An absolute path to your application root.
56
39
:app_path => "#{ Pod ::Config . instance . installation_root } /.."
57
40
)
@@ -69,7 +52,8 @@ target 'SampleApp' do
69
52
react_native_post_install (
70
53
installer ,
71
54
config [ :reactNativePath ] ,
72
- :mac_catalyst_enabled => false
55
+ :mac_catalyst_enabled => false ,
56
+ # :ccache_enabled => true
73
57
)
74
58
end
75
59
end
0 commit comments