I tried to add files to Xcode 16 for loading a react build into webview by following this tutorial https://ditto.live/blog/run-react-locally-in-ios-app:
- Right click on the Project(In project navigation at left)
- Add files to "<project_name>"
- Selected the folder(named 'build') from navigator and clicked "Add"
- I get the following dialog:

The expected image should have been this:

And when I try to list the build folder with:
let docsPath = Bundle.main.resourcePath!.appending("/build")
let fileManager = FileManager.default
do {
let docsArray = try fileManager.contentsOfDirectory(atPath: docsPath)
print(docsArray)
} catch {
print(error)
}
I get "No such file or directory" error in the console.

