I copy over a read-only file into my app’s resources folder as part of a build step. This file is used by the app just like images, etc. The app runs fine installed ad-hoc from Xcode but my build got rejected by Apple for crashing. Loading into TestFlight, I had the same problem. I determined that it’s this file. Apparently I can access in the .app package which is used in the adhoc install but not in the .ipa file used by the App Store.
So is there a way to access files in the Resource folder? If not, why is it included as a destination?
Yes, but I think my problem is that I was putting it in the Resources folder and not the App Parent Folder. What’s weird is Xcode picks up the file just fine in the resources folder of the app, but not the .ipa file from the store…
Maybe I misunderstand this thread but isn’t the GetResources folder read-only by default? Is that really a bug? Or would you expect it to work because you’re doing it as part of the build step?
WOW! It was that easy. I wish Xojo would then insert the copy step BEFORE the signing step when this is added. How would you ever know otherwise it it weren’t for people like you, @Jeremie_L? So thank you!
I spent all night last night and into the wee hours of the morning working on a workaround for this! Oh well, I figured out some other improvements but this makes things so much simpler.