-
Notifications
You must be signed in to change notification settings - Fork 57
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
PushPlugin.m error: no visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:' #71
Comments
I'm getting this too. Haven't figured out a workaround yet. This seems to be related: #58. I'm not using wkWebView, are you? Xcode 7.2 |
@DURK Easiest fix is using cordova-ios-3 (instead of 4). Btw, there is a fix in the works so this is a temporary inconvenience. This should do it:
|
@EddyVerbruggen Thanks for the workaround. It works on 3.9.2 like you said 👍 |
@EddyVerbruggen It worked. Can we use till the time it's not fixed for 4.0.x |
+1 To know when it's fixed :D |
+1 |
+1 To know when it's fixed too :D |
+1 |
+1 |
#71 PushPlugin.m error: no visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'
Hey all, I just pushed cordova-ios-4 support to master and would love you to check it out before closing this issue and tagging a release. |
@EddyVerbruggen Hi, [email protected] [self writeJavascript:[result toSuccessCallbackString:callbackId]];
[email protected] , [email protected] , [email protected] /Users/mirko/myApp080316/platforms/ios/CPM App/Plugins/nl.x-services.plugins.headsetdetection/HeadsetDetection.m:9:33: error: no visible @interface for 'CDVPluginResult' declares the selector 'toSuccessCallbackString:' [self writeJavascript:[result toSuccessCallbackString:callbackId]];
1 error generated. ** BUILD FAILED ** |
FYI The issue @scamianbas mentioned has been dealt with here. |
I have still the same problem. Should it work already with Cordova 4.0.x? |
It's working for me. On Friday, March 25, 2016, benjakraft [email protected] wrote:
|
ok need to check again then! Thanks for the info |
+1 for cordova-ios-3. Would love to know when it works with cordova-ios-4. |
It's working for me for 4 as well. On Wed, Apr 6, 2016 at 12:48 AM, [email protected] <
|
This commit ddaa7a1 fixes it for me. |
cordova plugin add https://github.com/Telerik-Verified-Plugins/PushNotification\#ddaa7a1548b01eccbc7f3fdd24f7356057c3931e |
This commit ddaa7a1 fixes it for me too. |
Push plugin breaking while building so these changes are done by following this thread issue Telerik-Verified-Plugins#71
|
Hi,
I am getting the following error while building on iOS
Plugins/com.phonegap.plugins.PushPlugin/PushPlugin.m:221:23: error: no visible @interface for 'UIView' declares the selector 'stringByEvaluatingJavaScriptFromString:'
[self.webView stringByEvaluatingJavaScriptFromString:jsCallBack];
Any suggestions.
The text was updated successfully, but these errors were encountered: