Having trouble connecting to device

I keep getting this error when I try to do anything with my MBLMetaWare device. 







2015-04-28 09:27:11.257 ActionVibrationMeter[3644:1848386] -[UITableViewCell name]: unrecognized selector sent to instance 0x156d227d0

2015-04-28 09:27:11.259 ActionVibrationMeter[3644:1848386] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCell name]: unrecognized selector sent to instance 0x156d227d0'

*** First throw call stack:

(0x1848782d8 0x19609c0e4 0x18487f3a4 0x18487c154 0x18477eccc 0x1000e367c 0x1892b8c84 0x1892b8994 0x18945b25c 0x18936def0 0x18936dcbc 0x18936dc3c 0x1892b5760 0x188bfde1c 0x188bf8884 0x188bf8728 0x188bf7ebc 0x188bf7c3c 0x188bf1364 0x1848302a4 0x18482d230 0x18482d610 0x1847592d4 0x18df6f6fc 0x18931efac 0x1000e5f08 0x19671aa08)

libc++abi.dylib: terminating with uncaught exception of type NSException


Comments

  • Can you try a fresh sample ios code install from the latest github repo? it looks like a link has been mistakenly deleted here in the tableview.
  • I did a fresh install and the same thing happened. I Might be installing it wrong. The directions on github are for an older version of xcode. Im on xcode 6.3
  • I just ran the App myself and it ran fine with the latest github code and xcode Version 6.2 (6C131e).
    What device are you trying to run the code on? Maybe your iphone is too old?
    Can you send me some more information about your setup since I can't replicate your issue at all.

  • I am using an iPhone 6. 
    I guess i should say that I've added the MetaWare.framework to my own project and I'm trying to connect it through that.

    When I try to run the MetaWareTestAPI app i get this error:
    No valid signing identities (i.e. certificate and private key pair) matching the team ID “V9V8S5TL85” were found.
    Unable to find a team with the given Team ID 'V9V8S5TL85' to which you belong.  Please contact Apple Developer Program Support.


  • You just need to change the xcode project to use your Apple developer account credentials before you build and run it.
  • edited April 2015
    Thanks, that was easy enough.
    But now when i try to run it i get this error:






    ld: library not found for -lPods-MetaWearApiTest-MBProgressHUD

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  • The cocoa pods are already in the sample apps so they should already work.

    Here's a tutorial on installing pods: https://guides.cocoapods.org/using/using-cocoapods.html

    My advice is to get a friend with xcode expertise to help you get going since you are having issues with the IDE and installation and not issues that we can help with such as the API and MetaWear code development.
  • Also check out www.mbientlab.com/gettingstarted and look at my youtube videos.
    But first and foremost get familiar with Xcode and cocoaPods.
  • Thanks for all of your help!
This discussion has been closed.