You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2016/10/20 00:45:59 UTC
[jira] [Commented] (CB-11189) Deprecation and other Warnings with
XCode 7.3 and InAppBrowser 1.4.0
[ https://issues.apache.org/jira/browse/CB-11189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15590379#comment-15590379 ]
Jesse MacFadyen commented on CB-11189:
--------------------------------------
I was able to recreate the issue, and see the following output:
{code}
/Tests/CB11189/platforms/ios/HelloCordova/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:634:75: warning:
'UIBarButtonItemStyleBordered' is deprecated: first deprecated in iOS 8.0 - Use
UIBarButtonItemStylePlain when minimum deployment target is iOS7 or later
[-Wdeprecated-declarations]
self.closeButton = [[UIBarButtonItem alloc] initWithTitle:title style:UIBarButtonItemStyleBo...
{code}
{code}
/Tests/CB11189/platforms/ios/HelloCordova/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:762:19: warning:
null passed to a callee that requires a non-null argument [-Wnonnull]
[self.webView loadHTMLString:nil baseURL:nil];
^ ~~~
{code}
{code}
/Tests/CB11189/platforms/ios/HelloCordova/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:1058:1: warning:
conflicting return type in implementation of 'supportedInterfaceOrientations':
'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger'
(aka 'unsigned long') [-Wmismatched-return-types]
- (NSUInteger)supportedInterfaceOrientations
^ ~~~~~~~~~~
{code}
> Deprecation and other Warnings with XCode 7.3 and InAppBrowser 1.4.0
> --------------------------------------------------------------------
>
> Key: CB-11189
> URL: https://issues.apache.org/jira/browse/CB-11189
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin InAppBrowser
> Affects Versions: 1.4.0
> Environment: XCode 7.3
> Reporter: Danilo Cicognani
> Assignee: sterling gerritz
> Priority: Critical
> Labels: easyfix, ios, triaged
>
> After adding plugin InAppBrowser XCode 7.3 repors some warning.
> To test I created a test app:
> cordova create testPlugin com.example.testplugin testPlugin
> cd testPlugin
> cordova platform add ios
> cordova plugin add cordova-plugin-inappbrowser
> Then I opened XCode and run the App. I got these warnings:
> 'UIBarButtonItemStyleBordered' is deprecated: first deprecated in iOS 8.0 - Use UIBarButtonItemStylePlain when minimum deployment target is iOS7 or later.
> Null passed to a callee that requires a non-null argument
> Conflicting return type in implementation of 'supported interface orientations': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned int')
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org