Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error on Cordova 6.0.0 #3

Open
GiancarloGomez opened this issue Feb 23, 2016 · 2 comments
Open

Build Error on Cordova 6.0.0 #3

GiancarloGomez opened this issue Feb 23, 2016 · 2 comments

Comments

@GiancarloGomez
Copy link

I get the following error when attempting to build after adding the plugin. Is this still under development?

error: no visible
      @interface for 'CDVPlugin' declares the selector 'initWithWebView:'
    self = (CDVApplePay*)[super initWithWebView:(UIWebView*)theWebView];
                          ~~~~~ ^~~~~~~~~~~~~~~
1 error generated.

** BUILD FAILED **
@GiancarloGomez GiancarloGomez changed the title Build Error on Cordova 6 Build Error on Cordova 6.0.0 Feb 23, 2016
@samkelleher
Copy link

This plugin is incompatible with Cordova iOS 4, downgrading to 3.x should work.

Removing the initWithWebView method allows the app to run, and seems safe since the method doesn't do anything.

However, once run in app, the JS calls also make old calls to cordova.

The old format of this exec call has been removed (deprecated since 2.1). Change to: cordova.exec(null, null, 'Service', 'action', [ arg1, arg2 ]);

@longjie2014
Copy link

我们使用cordova打包后,没有任何反应,也不报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants