0

I am working on my iOS PhoneGap-App. I have downloaded the plugin with following command: phonegap local plugin add https://github.com/shaders/pushwoosh-phonegap-build-plugin.git from github in the project-folder.

When I want to run the application in XCode I get 3 same errors in the PushNotification.m - File.

In Row 45,225,348 this error comes: No visible @interface for 'CordovaWrapperViewController' declare the selector 'getCommandInstance:'

enter image description here

I don't know, what I did wrong, so I am glad of any solution I get!

Thank you!

user3086983
  • 65
  • 1
  • 5

1 Answers1

0

There are lots of reasons it could happen, but generally it's saying that at the line of code it flags, it doesn't see any evidence that the selector you are referencing is in the interface of the type it thinks the object has.

In this example,

No visible interface error

They declared operandStack with the wrong type.

In this one

http://www.raywenderlich.com/forums/viewtopic.php?f=2&t=3312

They had a typo in the selector name

Community
  • 1
  • 1
MGot90
  • 2,422
  • 4
  • 15
  • 31