My question is very simple, I have a text file that I put in the folder “other sources” in Xcode, and I want a use this text file in my program but I don’t know what is his file path.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the file is in an Xcode group and not a referenced directory, then it will be placed in the root of the app’s main bundle. So if you’re trying to get at
foo.txt, you can access it like this: