Skip to content

Commit ad7d6df

Browse files
committed
Add iOSSupport folder to the reject list for frameworks
The macCatalyst support folder looks like it contains frameworks, however, these are binary-only and don't contain any Clang headers or Swift modules. These are to be found in the SDK. rdar://107869141
1 parent c63572c commit ad7d6df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,8 @@ ProcessModule(ModuleSP module_sp, std::string m_description,
19451945
// modules must be imported from the SDK instead.
19461946
if (!p.startswith("/System/Library") && !IsDeviceSupport(p) &&
19471947
!p.startswith(
1948-
"/Library/Apple/System/Library/PrivateFrameworks")) {
1948+
"/Library/Apple/System/Library/PrivateFrameworks") &&
1949+
!p.startswith("/System/iOSSupport/System/Library/Frameworks")) {
19491950
LOG_PRINTF(GetLog(LLDBLog::Types), "adding framework path \"%s\"/.. .",
19501951
framework_path.c_str());
19511952
framework_search_paths.push_back(

0 commit comments

Comments
 (0)