I just started learning SwiftUI and trying to follow the steps of the Building lists and navigation example from Apple. Although copied and existing on the project directory, I noticed the Resources
directory is not visible in my project navigation on Xcode.
The build is successful, but since the app tries to read landmarkData.json
file from that directory, it throws:
Could not find landmarkData.json in main bundle.
Why doesn't the Resources
show up on Xcode? How can I fix this issue?
Thank you so much