Apologies for spam; we've changed our policy by requiring approval for accounts, and deleted all existing spam and user - thanks for your help flagging content. We continue to test our forums and Vanilla software, aiming for release early in 2013. If you need to give us feedback outside the forum, contact us via http://createdigitalmusic.com/contact/ or on Facebook
Subfolders not found in xCode Sim
  • One problem Ive been having is getting my nice file organizations to port over during testing in xCode. The PD patch and log is fine when running standalone but the xCode log spits out missing files if they are referenced from a subfolder. The only workaround I've found is to dump everything referenced in the patch into the same directory as the patch - then it loads all assets fine in the sim. Am I missing a formatting difference here? Or a trailing slash somewhere? This includes any samples, text files, sub-patches etc that are in subdirectories of the main PD patch.
  • Here's what I would do (maybe you're doing that already; can't tell right now...). First, create a new folder and place your patch and its dependencies in there (dependencies may include subfolders). Make sure that your patch only uses local paths to refer to dependencies. Make sure it still works. Then add the entire folder to your xCode project. Good luck...
  • By default, Xcode copies all bundle resources into one flat folder - your app that sits on the device.  If you want to maintain a folder heirarchy within the bundle, you need to make sure the "Create folder references for any added folders" option is checked when copying.  I do this by dragging the entire folder into Xcode, making sure this option is checked and "copy items into destination group's folder" is unchecked.


    I agree that this is really useful for maintaining a sane file layout, so I've just changed WaveTables in github so that it works this way: the helper patches it uses are in a subfolder 'util'.  Docs are here, at the bottom:
    https://github.com/libpd/pd-for-ios/wiki/ios