Post

Replies

Boosts

Views

Activity

Xcode AppleConnect authentication error
Hello! I am trying to install the iOS simulator on Xcode 15 but I get an error message telling me I am not signed in to AppleConnect every time. I am aware that AppleConnect is Apple's interal employee SSO, but I am not an employee or contractor. Does anyone know how to get around this message? I have searched my Mac for files and directories that could have lead to the issue, and signed in and out of my Apple ID to no avail. I greatly appricate any help! Thank you. See the error here: The operation couldn’t be completed. (DVTNFASupport.AppleConnectError error 1.) Domain: DVTNFASupport.AppleConnectError Code: 1 User Info: { DVTErrorCreationDateKey = "2023-06-08 00:45:07 +0000"; } -- System Information macOS Version 14.0 (Build 23A5257q) Xcode 15.0 (22181.17) (Build 15A5160n) Timestamp: 2023-06-07T18:45:07-06:00
1
1
715
Jun ’23
SwiftUI Finder like Table
Hello, I was wondering if it was possible to make a Table using the SwiftUI Table that acts like the finder "as List" view. I'm mostly looking for a way to get navigation in the Table. If it's not possible, what are some good alternitives? Thanks!
0
0
463
Aug ’22
Take json data from url
Hi! I would like to take in json data from a url that I already have set up, using something like this. Thanks! func load<T: Decodable>(_ filename: String) -> T {     let data: Data     guard let file = Bundle.main.url(forResource: filename, withExtension: nil)         else {             fatalError("Couldn't find \(filename) in main bundle.")     }     do {         data = try Data(contentsOf: file)     } catch {         fatalError("Couldn't load \(filename) from main bundle:\n\(error)")     }     do {         let decoder = JSONDecoder()         return try decoder.decode(T.self, from: data)     } catch {         fatalError("Couldn't parse \(filename) as \(T.self):\n\(error)")     } }
1
0
552
Dec ’21
Xcode AppleConnect authentication error
Hello! I am trying to install the iOS simulator on Xcode 15 but I get an error message telling me I am not signed in to AppleConnect every time. I am aware that AppleConnect is Apple's interal employee SSO, but I am not an employee or contractor. Does anyone know how to get around this message? I have searched my Mac for files and directories that could have lead to the issue, and signed in and out of my Apple ID to no avail. I greatly appricate any help! Thank you. See the error here: The operation couldn’t be completed. (DVTNFASupport.AppleConnectError error 1.) Domain: DVTNFASupport.AppleConnectError Code: 1 User Info: { DVTErrorCreationDateKey = "2023-06-08 00:45:07 +0000"; } -- System Information macOS Version 14.0 (Build 23A5257q) Xcode 15.0 (22181.17) (Build 15A5160n) Timestamp: 2023-06-07T18:45:07-06:00
Replies
1
Boosts
1
Views
715
Activity
Jun ’23
SwiftUI Finder like Table
Hello, I was wondering if it was possible to make a Table using the SwiftUI Table that acts like the finder "as List" view. I'm mostly looking for a way to get navigation in the Table. If it's not possible, what are some good alternitives? Thanks!
Replies
0
Boosts
0
Views
463
Activity
Aug ’22
Take json data from url
Hi! I would like to take in json data from a url that I already have set up, using something like this. Thanks! func load<T: Decodable>(_ filename: String) -> T {     let data: Data     guard let file = Bundle.main.url(forResource: filename, withExtension: nil)         else {             fatalError("Couldn't find \(filename) in main bundle.")     }     do {         data = try Data(contentsOf: file)     } catch {         fatalError("Couldn't load \(filename) from main bundle:\n\(error)")     }     do {         let decoder = JSONDecoder()         return try decoder.decode(T.self, from: data)     } catch {         fatalError("Couldn't parse \(filename) as \(T.self):\n\(error)")     } }
Replies
1
Boosts
0
Views
552
Activity
Dec ’21