I have a file paylines.txt added inside the folder named TextFiles which resides inside the Resources folder of my iOS project in Xcod
paylines.txt
TextFiles
Resources
Go to "Target" -> "Build Phases", select your target, select the “Build Phases” tab, click “Add Build Phase”, and select “Add Copy Files”. Change the destination to “Products Directory”. Drag your file into the “Add files” section.