My app needs to read a text file so I added the file to the project folder, using "Copy Bundle Resources" in the "Build Phases" of the test target. I can see the file in the Xcode project structure, but when I debug the app, it shows the string is nil. I found a related question but it didn't solve this.

