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

Not compiling for IOS in latest version #3

Open
vcrepin opened this issue Apr 10, 2016 · 1 comment
Open

Not compiling for IOS in latest version #3

vcrepin opened this issue Apr 10, 2016 · 1 comment

Comments

@vcrepin
Copy link

vcrepin commented Apr 10, 2016

Hello. I'm using the latest version of ionic framework and this plugin does not compile for IOS. Here are the errors:

/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:39:28: error: no visible @interface for 'CDVPluginResult' declares the selector 'toSuccessCallbackString:'
jsString = [result toSuccessCallbackString:callbackId];
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:43:28: error: no visible @interface for 'CDVPluginResult' declares the selector 'toErrorCallbackString:'
jsString = [result toErrorCallbackString:callbackId];
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:46:11: error: no visible @interface for 'PowerManagement' declares the selector 'writeJavascript:'
[self writeJavascript:jsString];
~~~~ ^~~~~~~~~~~~~~~
/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:63:28: error: no visible @interface for 'CDVPluginResult' declares the selector 'toSuccessCallbackString:'
jsString = [result toSuccessCallbackString:callbackId];
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:67:28: error: no visible @interface for 'CDVPluginResult' declares the selector 'toErrorCallbackString:'
jsString = [result toErrorCallbackString:callbackId];
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/Users/vincentcrepin/ionicProjects/BlitzClock/platforms/ios/BlitzClock/Plugins/at.gofg.sportscomputer.powermanagement/PowerManagement.m:70:11: error: no visible @interface for 'PowerManagement' declares the selector 'writeJavascript:'
[self writeJavascript:jsString];

@cranberrygame
Copy link
Owner

@vcrepin

Fixed the issue.
Thanks

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

2 participants