Skip to content

Commit bf38d12

Browse files
committed
Fix: Disable documentation warnings and -Werror for IDB framework builds
The IDB frameworks fail to build with Xcode 26 due to stricter documentation comment validation. IDB has a documentation comment referencing a non-existent parameter 'queue' which is treated as an error with -Werror enabled. This commit: - Disables CLANG_WARN_DOCUMENTATION_COMMENTS to ignore doc warnings - Disables GCC_TREAT_WARNINGS_AS_ERRORS to prevent warnings from failing builds - Keeps xcpretty disabled for better error visibility
1 parent db9f0c6 commit bf38d12

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ function framework_build() {
112112
build \
113113
SKIP_INSTALL=NO \
114114
ONLY_ACTIVE_ARCH=NO \
115-
BUILD_LIBRARY_FOR_DISTRIBUTION=YES
115+
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
116+
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS=NO \
117+
CLANG_WARN_DOCUMENTATION_COMMENTS=NO \
118+
GCC_TREAT_WARNINGS_AS_ERRORS=NO \
119+
SWIFT_TREAT_WARNINGS_AS_ERRORS=NO
116120
local build_exit_code=$?
117121

118122
if [ $build_exit_code -eq 0 ]; then

0 commit comments

Comments
 (0)