I have a patch that works fine in PD opening files to ~readsf with a [bang]

But when opened in Xcode's iphone sim, the receiver is triggered and for each sample triggered I get a log "No such file or directory"

In the IDE the PD patch is in its own folder and the samples it references are in a subfolder.

In PD I am accessing the samples respectively [open sample_folder/sample.wav( and everything's fine.. but tis not the case in xcode.

However, when the samples are moved into the same directory as the PD patch it works fine. Problem is there's 300 of them all neatly organized :(

Anyone know what this could be?

thanks!