I have a SwiftUI app which produces the output below on the console every time it starts. I'd like to turn it off but I'm at a loss to where this output is coming from. I've tried commenting out everything so that the app just shows a blank screen, yet it still appears. Any suggestions would be appreciated!
Hanno
2024-04-02 09:16:59.482118-0400 ExampleApp[60941:1489963] [ {"framework": "Photos", "swizzle":[ {"class":"PHAsset", "methods": { "prefixes":["fetch","enumerate"] }, "antipattern type":"XPC on main thread" }, {"class":"PHFetchResult", "methods": { "prefixes":["fetch","enumerate"] }, "antipattern type":"XPC on main thread" } ] }, {"framework": "CoreLocation", "swizzle":[ {"class":"CLLocationManager", "instance methods": { "names":["authorizationStatus", "monitoredRegions", "accuracyAuthorization"] }, "class methods": { "names":["locationServicesEnabled"] }, "antipattern type":"XPC on main thread" } ] }, {"framework":"CoreImage", "swizzle":[ {"class":"CIContext", "instance methods": { "names":["createCGImage:fromRect:", "initWithOptions:"] }, "antipattern type":"IO on main thread" } ] }, {"framework":"HealthKit", "swizzle":[ {"class":"HKHealthStore", "instance methods": { "names":["authorizationStatusForType:"] }, "antipattern type":"XPC on main thread" } ] }, {"framework":"CoreData", "swizzle":[ {"class":"NSManagedObjectContext", "instance methods": { "names":["performBlockAndWait:", "executeFetchRequest:error:", "mergeChangesFromContextDidSaveNotification:", "save:", "countForFetchRequest:error:"] }, "antipattern type":"Database access on main thread" } ] }, {"framework":"CoreML", "swizzle":[ {"class":"MLModel", "class methods": { "names":["modelWithContentsOfURL:error:"] }, "antipattern type":"IO on main thread" } ] }, {"framework":"Foundation", "swizzle":[ {"class":"NSOperation", "instance methods": { "names":["waitUntilFinished", "waitUntilFinishedOrTimeout:"] }, "antipattern type":"waiting for operation completion on main thread" }, {"class":"NSThread", "class methods": { "names":["sleepForTimeInterval:"] }, "antipattern type":"Sleep" }, {"class":"NSBundle", "instance methods": { "names":["bundlePath", "bundleIdentifier", "loadAndReturnError:", "localizedStringForKey:value:table:"] }, "class methods": { "names":["bundleWithIdentifier:", "allFrameworks", "allBundles", "pathForResource:ofType:inDirectory:"] }, "antipattern type":"IO on main thread" }, {"class":"NSKeyedArchiver", "class methods": { "names":["archivedDataWithRootObject:", "archivedDataWithRootObject:requiringSecureCoding:error:", "archiveRootObject:toFile:"] }, "antipattern type":"IO on main thread" }, {"class":"NSKeyedUnarchiver", "class methods": { "names":["unarchiveTopLevelObjectWithData:error:", "decodeObjectForKey:", "unarchiveObjectWithData:"] }, "antipattern type":"IO on main thread" }, {"class":"NSFileManager", "methods": { "prefixes":["remove", "create", "move", "copy"] }, "instance methods": { "names":["synchronouslyGetFileProviderServicesForItemAtURL:completionHandler:"] }, "antipattern type":"IO on main thread" }, {"class":"NSData", "methods": { "prefixes":["initWithContents", "dataWithContents"] }, "instance methods": { "names":["enumerateByteRangesUsingBlock:"] }, "antipattern type":"IO on main thread" } ] }, {"framework":"AVFCore", "swizzle":[ {"class":"AVAsset", "class methods": { "names":["assetWithURL:"] }, "antipattern type":"IO on main thread" }, {"class":"AVAsset", "instance methods": { "names":["mediaSelectionGroupForMediaCharacteristic:"] }, "antipattern type":"Conditional waiting on main thread" }, {"class":"AVAsset", "instance methods": { "names":["tracksWithMediaType:"] }, "antipattern type":"XPC on main thread" }, {"class":"AVURLAsset", "instance methods": { "names":["tracks"] }, "antipattern type":"XPC on main thread" } ] }, {"framework":"AVFAudio", "swizzle":[ {"class":"AVAudioSession", "instance methods": { "names":["setActive:withOptions:error:", "category", "setCategory:mode:options:error:", "setCategory:mode:routeSharingPolicy:options:error:", "setCategory:withOptions:error:", "setCategory:error:", "currentRoute", "outputVolume", "setAllowHapticsAndSystemSoundsDuringRecording:error:", "isPiPAvailable"] }, "antipattern type":"XPC on main thread" } ] }, {"framework":"StoreKit", "swizzle":[ {"class":"SKPaymentQueue", "class methods": { "names":["canMakePayments"] }, "antipattern type":"Semaphore on main thread" }, {"class":"SKPaymentQueue", "instance methods": { "names":["storefront"] }, "antipattern type":"XPC on main thread" } ] }, {"framework":"CoreTelephony", "swizzle":[ {"class":"CTCellularPlanProvisioning", "instance methods": { "names":["supportsCellularPlan"] }, "antipattern type":"Semaphore on main thread" } ] }, {"framework":"Vision", "swizzle":[ {"class":"VNImageRequestHandler", "methods": { "prefixes":["performRequest"] }, "antipattern type":"Computer vision tasks on main thread" } ] } ]