For an App Playground in Xcode 26, usually created through File / New Project and then selecting iOS / App Playground, there does not seem to be a Resources folder for files to be accessed through Bundle.main.
This expectation comes from plain Playgrounds, since those have the aforementioned Resources folder to contain files to access through Bundle.main.
So for non-asset files (which could be added to the Assets Catalog, which does exist in an App Playground), like json files with model data, is there any possible or recommended way to add them to a App Playground to access in code?
After some hours of searching there seemed to be no obvious supported way to bundle resources into the App Playground target.
-
It's a package. developer.apple.com/documentation/xcode/…matt– matt2025年10月24日 16:44:15 +00:00Commented 12 hours ago