Post

Replies

Boosts

Views

Activity

Reply to WorldMap doesn't contain all Anchors?
Well, I'm a dork. The thing that I expected to see in my ARWorldMap was an AnchorEntity, not an ARAnchor. AnchorEntities, while containing an ARAnchor internally, may not actually be getting persisted to the ARWorldMap? It's something that I will be investigating more tonight, but I wanted to add this additional information.
Topic: Spatial Computing SubTopic: ARKit Tags:
Feb ’22
Reply to NSException in AppDelegate
Oh man, this could be almost anything. Are you using storyboards or Xib files? Are all your IBOutlets and IBActions connected? Does your app run if you remove some components, or try rendering with zero rows? Is your UITableViewCell properly registered on the table before you try to dequeue it?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Reply to Package.resolved file is missing from the repository
Update: It appears that the main reason I'm getting this error is because one of my dependencies is failing to clone. This dependency is located in a private repository also hosted on GitHub, and I've granted authorization to this additional repo. Could this be because Xcode-Cloud is trying to look in keychain for my normal git authentication info (username and token), but it's not available on the host?
Nov ’21
Reply to PersistenceController and CloudKit
Not sure what the "right answer" is, but This is how I set mine up. let url = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "APPGROUPID")?.appendingPathComponent("NAME.sqlite")         let description = NSPersistentStoreDescription(url: url)         description.shouldMigrateStoreAutomatically = true         description.shouldInferMappingModelAutomatically = false // yours should probably be true if you're not manually migrating between schema versions         description.shouldAddStoreAsynchronously = true         description.isReadOnly = false         let options = NSPersistentCloudKitContainerOptions(containerIdentifier: "MY IDENTIFIER")         description.cloudKitContainerOptions = options         return description
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’21
Reply to iOS 15 RealityKit AnchorEntity possible bug
Does this impact all AnchorEntities created with an ARAnchor? What other behaviors have you seen with this?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to File type limitations of sendResource?
Sending a single image works, so I’m guessing it’s an undocumented or overlooked limitation.
Replies
Boosts
Views
Activity
Feb ’22
Reply to WorldMap doesn't contain all Anchors?
Well, I'm a dork. The thing that I expected to see in my ARWorldMap was an AnchorEntity, not an ARAnchor. AnchorEntities, while containing an ARAnchor internally, may not actually be getting persisted to the ARWorldMap? It's something that I will be investigating more tonight, but I wanted to add this additional information.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to NSException in AppDelegate
Oh man, this could be almost anything. Are you using storyboards or Xib files? Are all your IBOutlets and IBActions connected? Does your app run if you remove some components, or try rendering with zero rows? Is your UITableViewCell properly registered on the table before you try to dequeue it?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Optimise for Mac with Mac Catalyst
Yeah, this is a known bug where sidebars styling is not fully supported in SwiftUI catalyst. See this sample project by STS that has work around: https://github.com/steventroughtonsmith/CatalystSwiftUISidebar?ref=swiftobc.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Package.resolved file is missing from the repository
Update: It appears that the main reason I'm getting this error is because one of my dependencies is failing to clone. This dependency is located in a private repository also hosted on GitHub, and I've granted authorization to this additional repo. Could this be because Xcode-Cloud is trying to look in keychain for my normal git authentication info (username and token), but it's not available on the host?
Replies
Boosts
Views
Activity
Nov ’21
Reply to PersistenceController and CloudKit
Not sure what the "right answer" is, but This is how I set mine up. let url = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "APPGROUPID")?.appendingPathComponent("NAME.sqlite")         let description = NSPersistentStoreDescription(url: url)         description.shouldMigrateStoreAutomatically = true         description.shouldInferMappingModelAutomatically = false // yours should probably be true if you're not manually migrating between schema versions         description.shouldAddStoreAsynchronously = true         description.isReadOnly = false         let options = NSPersistentCloudKitContainerOptions(containerIdentifier: "MY IDENTIFIER")         description.cloudKitContainerOptions = options         return description
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to PhotoKit: Can't access user's albums?
Seeing the same thing. Thank you for posting the code example.
Replies
Boosts
Views
Activity
Aug ’21