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
Guitar tuner issues in xcode
  • Hey all,

    I'm pretty new to this sort of thing so I may be asking a very dumb question but if ya'll could humor me I'd appreciate it! I'm working on the first part of the Guitar tuner example in Xcode and after fixing many of my initial typos I now am getting ARC errors like:

    /Users/zhagan/Desktop/musical apps/gtrtuner/libpd/pd-for-ios/DispatcherSample/DispatcherSample/DispatcherSampleViewController.m:26:6: error: 'release' is unavailable: not available in automatic reference counting mode [3]

    I'm not only getting that but I'm getting a bunch of those type of errors for the DispatcherSampleAppDelegate.m and the DispatcherSampleViewDelegate.m

    I'm not 100% sure I have my framework exactly right, could that be the issue?

    Any suggestions? Thanks!

  • Ok so I rebuilt the project from scratch again and now I'm not getting ARC errors any more but now I'm getting something different, libpd-ios -> 32 issues

    The first error is in the SampleListener.h

    import "PdBase.h" <-----file not found

    Again, I feel like I don't have my file paths right.... If I copy that PdBase.h file to the same dir as SampleListener.h I get a whole different set of errors about a duplicate PdBase.h reference. I am probably just missing something basic in the configuration.

    Anyway I gotta run, I have a show later at Spike Hill in Brooklyn. If anybody wants to see my new band, Zack Hagan and the Iona Crew, play we go on at 11pm, we also play on Feb 25th at the Knitting Factory Brooklyn...

    Thanks all!

  • pbrinkmannpbrinkmann
    Accepted Answer

    This kind of problem is hard to diagnose from a distance. I recommend that you get the book resources from GitHub, import the sample project into Xcode, and then compare it to your version. The book resources are here: https://github.com/nettoyeurny/Making-Musical-Apps

  • thanks for the quick response! I'll take a deep breath and try it again tmrw. I'll let ya know how I make out.

  • ok so I got your examples from github and it works! ok now I have to get mine working. Thanks, I'm sure I'll rear my ugly head around here soon.

  • So I did get the example GuitarTuner project up and running on the simulator, but I had a few files that were missing, like PdDispatcher.h -file not found ( GTViewController.h) PdAudioController.h -file not found (GTAppDelegate.h), as well as m_pd.h -file not found (fiddle~.c). Does this mean I have the User Header Search path wrong? I'm kinda confused because if I change it then my libpd.xcodeproj and fiddle are obviously missing. I did get the app to compile by coping the files from the objc folder in pd-for-ios to the GuitarTuner project directory and by copying the m_pd.h file from libpd/pure-data/src to libpd/pure-data/extras/fiddle~. Did I need to do that? or should I of just referenced the locations in the GTViewController.h, GTAppDelegate.h and the fiddle~.c file? Any input on why I had to do that would be awesome!

  • i got it... header paths. put the paths in above where you set the user header paths. seems to work well