Post

Replies

Boosts

Views

Activity

Reply to ATT bug, don't wait for user
I'm also getting spammed with main thread warnings when I call func sceneDidBecomeActive(_ scene: UIScene) { Task { [weak self] in guard let self else { return } await ATTrackingManager.requestTrackingAuthorization() } } {"message":"This code path does I/O on the main thread underneath that can lead to UI responsiveness issues. Consider ways to optimize this code path","antipattern trigger":"-[NSData dataWithContentsOfFile:options:error:]","message type":"suppressable","show in console":"0"}
May ’24
Reply to Xcode 13.3 SwiftPM.SPMRepositoryError error 5
You need to generate a new key since the one Xcode auto-generates is not supported... ssh-keygen -t ecdsa -C "our_email" pbcopy < ~/.ssh/id_ecdsa.pub Go to https://github.com/settings/ssh/new, paste the key and save. Go to Xcode -> Preferences -> Sign into the github account if not already. Select SSH for "Clone using" For SSH Key select id_ecdsa.
Mar ’22