Closed fireproof closed 9 years ago
Hi, so sorry, I just noticed this issue. Did you figure it out?
I've got this same issue! When trying to build my cordova project the build fails with "Use of undeclared identifier 'RemoteControls'"
It takes issue with the same block of code as posted above, mine looks identical.
The files are all in the right place and RemoteControls.m is in the build order in xCode...
hi, sorry, did you see his update?
UPDATE: needed to add #import "RemoteControls.h" to top of /Classes/MainViewController.m (but plugin still doesn't seem to work)
Is that what you did in your implementation to get it working? It seemed as though he didn't have much success doing that so I wasn't sure.
Yup, if you're seeing the "undeclared intentifier" error than declaring it by importing the RemoteControls.h file should solve that problem.
UPDATE: needed to add
#import "RemoteControls.h"
to top of /Classes/MainViewController.m (but plugin still doesn't seem to work)This is the modification I made to MainViewController.m (hopefully per your instructions):