Skip to content

Commit 35cbd20

Browse files
committed
fix: revert disabling debugger on release apple
1 parent 9ad85a3 commit 35cbd20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hermes-engine.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Pod::Spec.new do |spec|
3333
spec.ios.vendored_frameworks = "destroot/Library/Frameworks/universal/hermes.xcframework"
3434
spec.osx.vendored_frameworks = "destroot/Library/Frameworks/macosx/hermes.framework"
3535

36-
spec.xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", "CLANG_CXX_LIBRARY" => "compiler-default", "GCC_PREPROCESSOR_DEFINITIONS" => "HERMES_ENABLE_DEBUGGER=0" }
36+
spec.xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++17", "CLANG_CXX_LIBRARY" => "compiler-default", "GCC_PREPROCESSOR_DEFINITIONS" => "HERMES_ENABLE_DEBUGGER=1" }
3737

3838
unless ENV['hermes-artifact-url']
3939
spec.prepare_command = <<-EOS

utils/build-apple-framework.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function configure_apple_framework {
6464
-DHERMES_APPLE_TARGET_PLATFORM:STRING="$1" \
6565
-DCMAKE_OSX_ARCHITECTURES:STRING="$2" \
6666
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="$3" \
67-
-DHERMES_ENABLE_DEBUGGER:BOOLEAN=false \
67+
-DHERMES_ENABLE_DEBUGGER:BOOLEAN=true \
6868
-DHERMES_ENABLE_INTL:BOOLEAN=true \
6969
-DHERMES_ENABLE_LIBFUZZER:BOOLEAN=false \
7070
-DHERMES_ENABLE_FUZZILLI:BOOLEAN=false \

0 commit comments

Comments
 (0)