Post

Replies

Boosts

Views

Activity

Comment on Loading a lighting resource for a RealityKit view on macOS - image not embedded in app bundle
Yeah, in the Xcode 16 beta 5 case, the error I'm printing to my local console is: Unable to load resource: Reality File version 11 is not supported. (Latest supported version is 9.) I also have an Xcode 16.1 beta 1 installed (but haven't tried using it in these experiments), so unclear if that is impacting the result. I'm not sure what the Reality File version is that's getting generated, or how to look - I'm guessing the embedded resource was compiled from the skybox directory.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Aug ’24
Comment on Is there a way to include snippets from an external file with DocC?
There was a pitch recently in on the Swift Evolution open source forums by Ashley Garland that related to this kind of setup - the idea being the documentation catalog could contain a specific set of swift snippets, and the compiler (or SwiftPM in this case I think) could/would build those to verify that everything kept working, no warnings, etc. I don't know the current state of that pitch, but I think it's nearly exactly what you're after here. (and I'm doing the same right now - including snippets in two places, one in my tests, and another in the doc comments)
Nov ’21
Comment on Loading a lighting resource for a RealityKit view on macOS - image not embedded in app bundle
Yeah, in the Xcode 16 beta 5 case, the error I'm printing to my local console is: Unable to load resource: Reality File version 11 is not supported. (Latest supported version is 9.) I also have an Xcode 16.1 beta 1 installed (but haven't tried using it in these experiments), so unclear if that is impacting the result. I'm not sure what the Reality File version is that's getting generated, or how to look - I'm guessing the embedded resource was compiled from the skybox directory.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Loading a lighting resource for a RealityKit view on macOS - image not embedded in app bundle
Thank you,I appreciate you poking at this. When i build and run it with Xcode 15.4, it's all good. The image I see is the one I expected, but when I built and run that same project with Xcode 16 beta 5, or the newer project, I get the fall-through/default lighting image instead. The resource IS embedded
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Loading a lighting resource for a RealityKit view on macOS - image not embedded in app bundle
Absolutely - super minimal Xcode sample code in it's own repo: https://github.com/heckj/skyboxSampleRealityKit/ I assembled this project using Xcode 16 beta 5
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on What's the pattern to provide organization around properties and methods within a struct or class?
UPDATE: I had trouble getting the structure to reflect when I posted it inside the struct's source comments, but that does work, and an extension file isn't required.
Replies
Boosts
Views
Activity
Nov ’21
Comment on Is there a way to include snippets from an external file with DocC?
There was a pitch recently in on the Swift Evolution open source forums by Ashley Garland that related to this kind of setup - the idea being the documentation catalog could contain a specific set of swift snippets, and the compiler (or SwiftPM in this case I think) could/would build those to verify that everything kept working, no warnings, etc. I don't know the current state of that pitch, but I think it's nearly exactly what you're after here. (and I'm doing the same right now - including snippets in two places, one in my tests, and another in the doc comments)
Replies
Boosts
Views
Activity
Nov ’21