@@ -140,36 +140,267 @@ public actor ImportScanner {
140140 private func isStandardLibraryModule( _ moduleName: String ) -> Bool {
141141 // Common Swift standard library and platform modules that don't require explicit dependencies
142142 let standardModules : Set < String > = [
143- " Swift " ,
144- " Testing " ,
145- " Foundation " ,
146- " Dispatch " ,
147- " CoreFoundation " ,
148- " Darwin " ,
149- " Glibc " ,
150- " WinSDK " ,
151- " XCTest " ,
152- " SwiftUI " ,
153- " UIKit " ,
143+ " Accelerate " ,
144+ " Accessibility " ,
145+ " AccessorySetupKit " ,
146+ " Accounts " ,
147+ " AddressBook " ,
148+ " AdServices " ,
149+ " AdSupport " ,
150+ " AGL " ,
151+ " AppIntents " ,
154152 " AppKit " ,
153+ " AppleScriptKit " ,
154+ " AppleScriptObjC " ,
155+ " ApplicationServices " ,
156+ " AppTrackingTransparency " ,
157+ " AudioToolbox " ,
158+ " AudioUnit " ,
159+ " AudioVideoBridging " ,
160+ " AuthenticationServices " ,
161+ " AutomaticAssessmentConfiguration " ,
162+ " Automator " ,
163+ " AVFAudio " ,
164+ " AVFoundation " ,
165+ " AVKit " ,
166+ " AVRouting " ,
167+ " BackgroundAssets " ,
168+ " BackgroundTasks " ,
169+ " BrowserEngineCore " ,
170+ " BrowserEngineKit " ,
171+ " BusinessChat " ,
172+ " CalendarStore " ,
173+ " CallKit " ,
174+ " Carbon " ,
175+ " CarKey " ,
176+ " CFNetwork " ,
177+ " Charts " ,
178+ " Cinematic " ,
179+ " ClassKit " ,
180+ " CloudKit " ,
155181 " Cocoa " ,
182+ " Collaboration " ,
183+ " ColorSync " ,
184+ " Combine " ,
185+ " Compression " ,
186+ " Contacts " ,
187+ " ContactsUI " ,
188+ " CoreAudio " ,
189+ " CoreAudioKit " ,
190+ " CoreAudioTypes " ,
191+ " CoreBluetooth " ,
156192 " CoreData " ,
193+ " CoreDisplay " ,
194+ " CoreFoundation " ,
157195 " CoreGraphics " ,
196+ " CoreHaptics " ,
197+ " CoreHID " ,
158198 " CoreImage " ,
159199 " CoreLocation " ,
200+ " CoreMedia " ,
201+ " CoreMediaIO " ,
202+ " CoreMIDI " ,
203+ " CoreMIDIServer " ,
204+ " CoreML " ,
205+ " CoreMotion " ,
206+ " CoreServices " ,
207+ " CoreSpotlight " ,
208+ " CoreTelephony " ,
160209 " CoreText " ,
161- " QuartzCore " ,
210+ " CoreTransferable " ,
211+ " CoreVideo " ,
212+ " CoreWLAN " ,
213+ " CreateML " ,
214+ " CreateMLComponents " ,
215+ " CryptoKit " ,
216+ " CryptoTokenKit " ,
217+ " Darwin " ,
218+ " DataDetection " ,
219+ " DeveloperToolsSupport " ,
220+ " DeviceActivity " ,
221+ " DeviceCheck " ,
222+ " DeviceDiscoveryExtension " ,
223+ " DirectoryService " ,
224+ " DiscRecording " ,
225+ " DiscRecordingUI " ,
226+ " DiskArbitration " ,
227+ " Dispatch " ,
228+ " DockKit " ,
229+ " DriverKit " ,
230+ " DVDPlayback " ,
231+ " EventKit " ,
232+ " ExceptionHandling " ,
233+ " ExecutionPolicy " ,
234+ " ExtensionFoundation " ,
235+ " ExtensionKit " ,
236+ " ExternalAccessory " ,
237+ " FamilyControls " ,
238+ " FileProvider " ,
239+ " FileProviderUI " ,
240+ " FinanceKit " ,
241+ " FinanceKitUI " ,
242+ " FinderSync " ,
243+ " ForceFeedback " ,
244+ " Foundation " ,
245+ " FSKit " ,
246+ " GameController " ,
247+ " GameKit " ,
248+ " GameplayKit " ,
249+ " Glibc " ,
250+ " GLKit " ,
251+ " GLUT " ,
252+ " GroupActivities " ,
253+ " GSS " ,
254+ " HealthKit " ,
255+ " Hypervisor " ,
256+ " ICADevices " ,
257+ " IdentityLookup " ,
258+ " ImageCaptureCore " ,
259+ " ImageIO " ,
260+ " ImagePlayground " ,
261+ " InputMethodKit " ,
262+ " InstallerPlugins " ,
263+ " InstantMessage " ,
264+ " Intents " ,
265+ " IntentsUI " ,
266+ " IOBluetooth " ,
267+ " IOBluetoothUI " ,
268+ " IOKit " ,
269+ " IOSurface " ,
270+ " IOUSBHost " ,
271+ " iTunesLibrary " ,
272+ " JavaNativeFoundation " ,
273+ " JavaRuntimeSupport " ,
274+ " JavaScriptCore " ,
275+ " Kerberos " ,
276+ " Kernel " ,
277+ " KernelManagement " ,
278+ " LatentSemanticMapping " ,
279+ " LDAP " ,
280+ " LightweightCodeRequirements " ,
281+ " LinkPresentation " ,
282+ " LocalAuthentication " ,
283+ " LocalAuthenticationEmbeddedUI " ,
284+ " MailKit " ,
285+ " ManagedAppDistribution " ,
286+ " ManagedSettings " ,
287+ " MapKit " ,
288+ " Matter " ,
289+ " MatterSupport " ,
290+ " MediaAccessibility " ,
291+ " MediaExtension " ,
292+ " MediaLibrary " ,
293+ " MediaPlayer " ,
294+ " MediaToolbox " ,
295+ " Message " ,
162296 " Metal " ,
297+ " MetalFX " ,
163298 " MetalKit " ,
164- " AVFoundation " ,
299+ " MetalPerformanceShaders " ,
300+ " MetalPerformanceShadersGraph " ,
301+ " MetricKit " ,
302+ " MLCompute " ,
303+ " ModelIO " ,
304+ " MultipeerConnectivity " ,
305+ " MusicKit " ,
306+ " NaturalLanguage " ,
307+ " NearbyInteraction " ,
308+ " NetFS " ,
165309 " Network " ,
166- " Combine " ,
167- " CryptoKit " ,
168- " OSLog " ,
310+ " NetworkExtension " ,
311+ " NotificationCenter " ,
312+ " OpenAL " ,
313+ " OpenCL " ,
314+ " OpenDirectory " ,
315+ " OpenGL " ,
169316 " os " ,
170- " RegexBuilder "
317+ " OSAKit " ,
318+ " OSLog " ,
319+ " ParavirtualizedGraphics " ,
320+ " PassKit " ,
321+ " PCSC " ,
322+ " PDFKit " ,
323+ " PencilKit " ,
324+ " PHASE " ,
325+ " Photos " ,
326+ " PhotosUI " ,
327+ " PreferencePanes " ,
328+ " ProximityReaderStub " ,
329+ " PushKit " ,
330+ " PushToTalk " ,
331+ " QTKit " ,
332+ " Quartz " ,
333+ " QuartzCore " ,
334+ " QuickLook " ,
335+ " QuickLookThumbnailing " ,
336+ " QuickLookUI " ,
337+ " RealityFoundation " ,
338+ " RealityKit " ,
339+ " RegexBuilder " ,
340+ " ReplayKit " ,
341+ " Ruby " ,
342+ " SafariServices " ,
343+ " SafetyKit " ,
344+ " SceneKit " ,
345+ " ScreenCaptureKit " ,
346+ " ScreenSaver " ,
347+ " ScreenTime " ,
348+ " ScriptingBridge " ,
349+ " Security " ,
350+ " SecurityFoundation " ,
351+ " SecurityInterface " ,
352+ " SecurityUI " ,
353+ " SensitiveContentAnalysis " ,
354+ " SensorKit " ,
355+ " ServiceManagement " ,
356+ " SharedWithYou " ,
357+ " SharedWithYouCore " ,
358+ " ShazamKit " ,
359+ " simd " ,
360+ " Social " ,
361+ " SoundAnalysis " ,
362+ " Speech " ,
363+ " SpriteKit " ,
364+ " StickerFoundation " ,
365+ " StickerKit " ,
366+ " StoreKit " ,
367+ " Swift " ,
368+ " SwiftData " ,
369+ " SwiftUI " ,
370+ " SwiftUICore " ,
371+ " Symbols " ,
372+ " SyncServices " ,
373+ " System " ,
374+ " SystemConfiguration " ,
375+ " SystemExtensions " ,
376+ " TabularData " ,
377+ " Tcl " ,
378+ " Testing " ,
379+ " ThreadNetwork " ,
380+ " TipKit " ,
381+ " Tk " ,
382+ " Translation " ,
383+ " TWAIN " ,
384+ " UIKit " ,
385+ " UniformTypeIdentifiers " ,
386+ " UserNotifications " ,
387+ " UserNotificationsUI " ,
388+ " vecLib " ,
389+ " VideoDecodeAcceleration " ,
390+ " VideoSubscriberAccount " ,
391+ " VideoToolbox " ,
392+ " Virtualization " ,
393+ " Vision " ,
394+ " VisionKit " ,
395+ " vmnet " ,
396+ " WeatherKit " ,
397+ " WebKit " ,
398+ " WidgetKit " ,
399+ " WinSDK " ,
400+ " WorkoutKit " ,
401+ " XCTest "
171402 ]
172-
403+
173404 return standardModules. contains ( moduleName)
174405 }
175- }
406+ }
0 commit comments