You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded to Cordova 4.1.0 from 3.9.2 for iOS. iOS platform:Xcode 7.3.1, Build version 7D1014
I now get two errors when building for ios from the command line:
Error 1.
Plugins/cordova-plugin-socialsharing/SocialSharing.m:26:24: error:
no visible @interface for 'UIView' declares the selector
'stringByEvaluatingJavaScriptFromString:'
Error 2.
Plugins/cordova-plugin-socialsharing/SocialSharing.m:471:34: error:
no known class method for selector 'dataFromBase64String:'
NSData *fileData = [NSData dataFromBase64String:base64content];
/Plugins/cordova-plugin-socialsharing/SocialSharing.m:20:8: warning:
incompatible pointer to integer conversion initializing 'BOOL'
(aka 'signed char') with an expression of type 'Class _Nullable'
[-Wint-conversion]
BOOL avail = NSClassFromString(@"UIActivityViewController");
/Plugins/cordova-plugin-socialsharing/SocialSharing.m:76:15: warning:
'setCompletionHandler:' is deprecated: first deprecated in iOS 8.0 - Use
completionWithItemsHandler instead. [-Wdeprecated-declarations]
[activityVC setCompletionHandler:^(NSString *activityType, BOOL completed) {
^
In module 'UIKit' imported from /Users/AdamDiment/projects-github/vfi-mobile/platforms/ios/build/device/include/Cordova/CDVAvailabilityDeprecated.h:20:
Really appreciate your plugins, and your help with this, thanks!
The text was updated successfully, but these errors were encountered:
I recently upgraded to Cordova 4.1.0 from 3.9.2 for iOS. iOS platform:Xcode 7.3.1, Build version 7D1014
I now get two errors when building for ios from the command line:
Error 1.
Plugins/cordova-plugin-socialsharing/SocialSharing.m:26:24: error:
no visible @interface for 'UIView' declares the selector
'stringByEvaluatingJavaScriptFromString:'
Error 2.
Plugins/cordova-plugin-socialsharing/SocialSharing.m:471:34: error:
no known class method for selector 'dataFromBase64String:'
NSData *fileData = [NSData dataFromBase64String:base64content];
for reference, seems like a similar issue to the one you fixed here Telerik-Verified-Plugins/PushNotification#71 with your push plugin earlier this year.
There are also 2 warnings:
incompatible pointer to integer conversion initializing 'BOOL'
(aka 'signed char') with an expression of type 'Class _Nullable'
[-Wint-conversion]
BOOL avail = NSClassFromString(@"UIActivityViewController");
'setCompletionHandler:' is deprecated: first deprecated in iOS 8.0 - Use
completionWithItemsHandler instead. [-Wdeprecated-declarations]
[activityVC setCompletionHandler:^(NSString *activityType, BOOL completed) {
^
In module 'UIKit' imported from /Users/AdamDiment/projects-github/vfi-mobile/platforms/ios/build/device/include/Cordova/CDVAvailabilityDeprecated.h:20:
Really appreciate your plugins, and your help with this, thanks!
The text was updated successfully, but these errors were encountered: