Skip to content

Commit f264163

Browse files
committed
Add note in Podfile on use of ccache
1 parent e4a4cb0 commit f264163

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

apps/test-app/ios/Podfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ ws_dir = ws_dir.parent until
44
ws_dir.expand_path.to_s == '/'
55
require "#{ws_dir}/node_modules/react-native-test-app/test_app.rb"
66

7+
# Disabling ccache for now, as I'm getting lots of warnings:
8+
# Explicit modules is enabled but the compiler was not recognized; disable explicit modules with CLANG_ENABLE_EXPLICIT_MODULES=NO, or use C_COMPILER_LAUNCHER with CLANG_ENABLE_EXPLICIT_MODULES_WITH_COMPILER_LAUNCHER=YES if using a compatible launcher
9+
# I could get this working by patching React Native's utils.rb to set
10+
# config.build_settings["CLANG_ENABLE_EXPLICIT_MODULES"] = "NO"
11+
# config.build_settings["COMPILER_INDEX_STORE_ENABLE"] = "NO"
12+
# but I'm still seeing compiler errors after that.
13+
14+
# ENV['USE_CCACHE'] = ENV['USE_CCACHE'] || Pod::Executable::which('ccache') ? '1' : '0'
15+
716
use_test_app! :hermes_enabled => true, :fabric_enabled => true, :bridgeless_enabled => true

0 commit comments

Comments
 (0)