@@ -13,30 +13,6 @@ install! 'cocoapods',
13
13
14
14
prepare_react_native_project!
15
15
16
- # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
17
- # because `react-native-flipper` depends on (FlipperKit,...), which will be excluded. To fix this,
18
- # you can also exclude `react-native-flipper` in `react-native.config.js`
19
- #
20
- # ```js
21
- # module.exports = {
22
- # dependencies: {
23
- # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
24
- # }
25
- # }
26
- # ```
27
- flipper_config = FlipperConfiguration . disabled
28
- if ENV [ 'NO_FLIPPER' ] == '1' then
29
- # Explicitly disabled through environment variables
30
- flipper_config = FlipperConfiguration . disabled
31
- elsif podfile_properties . key? ( 'ios.flipper' ) then
32
- # Configure Flipper in Podfile.properties.json
33
- if podfile_properties [ 'ios.flipper' ] == 'true' then
34
- flipper_config = FlipperConfiguration . enabled ( [ "Debug" , "Release" ] )
35
- elsif podfile_properties [ 'ios.flipper' ] != 'false' then
36
- flipper_config = FlipperConfiguration . enabled ( [ "Debug" , "Release" ] , { 'Flipper' => podfile_properties [ 'ios.flipper' ] } )
37
- end
38
- end
39
-
40
16
target 'powersyncexample' do
41
17
use_expo_modules!
42
18
config = use_native_modules!
@@ -49,15 +25,17 @@ target 'powersyncexample' do
49
25
:hermes_enabled => podfile_properties [ 'expo.jsEngine' ] == nil || podfile_properties [ 'expo.jsEngine' ] == 'hermes' ,
50
26
# An absolute path to your application root.
51
27
:app_path => "#{ Pod ::Config . instance . installation_root } /.." ,
52
- # Note that if you have use_frameworks! enabled, Flipper will not work if enabled
53
- :flipper_configuration => flipper_config
28
+ # Temporarily disable privacy file aggregation by default, until React
29
+ # Native 0.74.2 is released with fixes.
30
+ :privacy_file_aggregation_enabled => podfile_properties [ 'apple.privacyManifestAggregationEnabled' ] == 'true' ,
54
31
)
55
32
56
33
post_install do |installer |
57
34
react_native_post_install (
58
35
installer ,
59
36
config [ :reactNativePath ] ,
60
- :mac_catalyst_enabled => false
37
+ :mac_catalyst_enabled => false ,
38
+ :ccache_enabled => podfile_properties [ 'apple.ccacheEnabled' ] == 'true' ,
61
39
)
62
40
63
41
# This is necessary for Xcode 14, because it signs resource bundles by default
0 commit comments