You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with Xcode 14.3 the SDKs shipped out via xcode had some changes in regard to the availablity of headers files in certain paths. One noteable change has been that cxxabi.h is not available anymore under
<xcode root>/usr/include/cxxabi.h
but only under
<xcode root>/usr/include/c++/v1/cxxabi.h
This breaks the clang compiler search for included headers, as has been described previously in apple/swift#64936. There are differences between the headers searched in the clang compiler shipped with Xcode
clang -cc1 version 14.0.3 (clang-1403.0.22.14.1) default target arm64-apple-darwin22.1.0
<ignored headers to be being duplicated>
#include "..." search starts here:
#include <...> search starts here:
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/Sentry/Public
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/Sentry/include
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Installations
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Recording
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Monitors
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools
<redacted>/SourcePackages/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Tools
<redacted>/Build/Intermediates.noindex/ArchiveIntermediates/Project/BuildProductsPath/Debug-iphoneos (framework directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks (framework directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/Developer/Library/Frameworks (framework directory)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include/c++/v1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/usr/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk/System/Library/Frameworks (framework directory)
End of search list.
Starting with Xcode 14.3 the SDKs shipped out via xcode had some changes in regard to the availablity of headers files in certain paths. One noteable change has been that
cxxabi.h
is not available anymore under<xcode root>/usr/include/cxxabi.h
but only under
<xcode root>/usr/include/c++/v1/cxxabi.h
This breaks the clang compiler search for included headers, as has been described previously in apple/swift#64936. There are differences between the headers searched in the clang compiler shipped with Xcode
and one built using the
build-toolchain
script found in the https://github.com/apple/swift/ repositoryManual adding the missing include paths leads to an error due to a duplicated definition.
Note: The version mismatch of the compilers is due to an issue described in apple/swift#63163
The text was updated successfully, but these errors were encountered: