I’m getting a new error, don’t know what I did to cause it, was working last week…
Can anyone point me in the right direction to sort this out?
I’m using Xcode 7.1, building an IOS 9.1 app for an iPhone 6.
The two errors it throws are:
Xcode/Pods/SparkSetup/Classes/User/SparkSetupMainController.m:34:17: Method override for the designated initializer of the superclass ‘-initWithNibName:bundle:’ not found
Xcode/Pods/SparkSetup/Classes/User/SparkSetupMainController.m:34:17: Method override for the designated initializer of the superclass ‘-initWithCoder:’ not found
Great, thx for looking into it.
Interestingly, I have been rebuilding the app from scratch, and have it 90% functional. The new version has the same errors, but does not hang. I have a huge batch of deprecated warnings, also, many of which I have not been able to resolve yet, hopefully they will go away as I get to spend more time on it.
I wasn’t able to reproduce this crash/error - I updated to XCode 7.1/iOS 9.1.
The two errors you specified in original post are just harmless compiler warnings - you can ignore those. I need more information about the error/crash itself - which line/stack trace/further reproducing steps
2015-11-04 00:44:45.362 Fish Alarm[8849:1315658] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x7fd851d24740> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key line.'
OK, this seems like an issue related to your project directly, not a Particle SDK issue.
My bet: you added a reference outlet/action from one of the elements in the viewcontroller storyboard called “line” but didn’t bind it to a real property in your source code
Maybe your SparkSetupMainController-class is not a descendant of the UIViewController-class, at least in IB.
Otherwise it would have inherited these methods automatically.