Skip to content

Commit

Permalink
[v2] fix: set NDEBUG=1 preprocessor flag in release mode (#2270)
Browse files Browse the repository at this point in the history
Set `NDEBUG=1` preprocessor flag in release mode
  • Loading branch information
tomekzaw authored Dec 11, 2023
1 parent 2d74f0f commit 83abb08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion VisionCamera.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Pod::Spec.new do |s|

s.pod_target_xcconfig = {
"USE_HEADERMAP" => "YES",
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\" "
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\" ",
"GCC_PREPROCESSOR_DEFINITIONS[config=Release]" => "$(inherited) NDEBUG=1"
}
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
s.xcconfig = {
Expand Down

0 comments on commit 83abb08

Please sign in to comment.