Skip to content

Commit

Permalink
fix(Xcode): Suppressed a compiler error caused by the use of variable…
Browse files Browse the repository at this point in the history
… length arrays in macro `SentryCrashMC_NEW_CONTEXT`
  • Loading branch information
macmade committed Feb 26, 2025
1 parent 48df5cf commit a26a092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Sources/Configuration/SDK.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ALWAYS_SEARCH_USER_PATHS = NO
CLANG_ENABLE_OBJC_ARC = YES
CLANG_ENABLE_MODULES = YES
//OTHER_CFLAGS = -Wall -Wextra -Wpedantic -Wno-gnu-conditional-omitted-operand
OTHER_CFLAGS = -Wno-vla-cxx-extension

GCC_OPTIMIZATION_LEVEL_Debug = 0
GCC_OPTIMIZATION_LEVEL_DebugWithoutUIKit = 0
Expand Down
2 changes: 1 addition & 1 deletion Sources/Configuration/Sentry.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ARCHS[sdk=*simulator] = $(ARCHS_STANDARD)
// APPLICATION_EXTENSION_API_ONLY YES causes a side effect of exposing all @objc classes to Sentry-Swift.h
// and without it the project wont compile.
APPLICATION_EXTENSION_API_ONLY = YES
OTHER_CFLAGS = -DCARTHAGE_$(CARTHAGE) -DAPPLICATION_EXTENSION_API_ONLY_$(APPLICATION_EXTENSION_API_ONLY)
OTHER_CFLAGS = -DCARTHAGE_$(CARTHAGE) -DAPPLICATION_EXTENSION_API_ONLY_$(APPLICATION_EXTENSION_API_ONLY) $(inherited)

BUILD_LIBRARY_FOR_DISTRIBUTION = YES
INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks
Expand Down

0 comments on commit a26a092

Please sign in to comment.