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

App build fails due to plugin when upgraded to cordova-ios 4.0.x #27

Closed
jagdishadusumalli opened this issue Jan 11, 2016 · 6 comments
Closed

Comments

@jagdishadusumalli
Copy link

I upgraded to cordova-ios 4.0.1 post which my ionic app is failing to build

There are many plugins which are failing out of which diagnostic is also the one.
i had posted the issue on cordova-ios issue tracker and @shazron have reverted with suggestions to fix the plugin as many deprecated methods have been removed in cordova-ios 4.0.1.
https://issues.apache.org/jira/browse/CB-10310

Info on the code breaks and fixing them
http://cordova.apache.org/announcements/2015/12/08/cordova-ios-4.0.0.html
http://cordova.apache.org/news/2015/11/24/plugins-release.html

Also attaching the exact error for the plugin with cordova-ios@4.0.1
screen shot 2015-12-23 at 22 26 00

@Zapmobilegames
Copy link

Same using Intel XDK, the debug module gives an error and I can't add the plugin. Hope this would be soon fixed

@srikanthv
Copy link

@dpa99c we are facing the same issue that Jagdish has posted. Apparantly as I understand @shazron might also be able to help fix this. Could anyone of you try to please fix this ASAP?

Thanks in advance!

@dpa99c dpa99c closed this as completed in f78947d Jan 16, 2016
@dpa99c
Copy link
Owner

dpa99c commented Jan 16, 2016

Just published cordova.plugins.diagnostic@2.3.6 to npm which contains this fix. Sorry it took a while. Been busy.

@dpa99c
Copy link
Owner

dpa99c commented Jan 16, 2016

Actually, use cordova.plugins.diagnostic@2.3.7 - this comments out support for WKWebView for now as it was causing compile errors on cordova-ios@3

@gsanjeevkumar
Copy link

Hi. Is there are work around for this.

My app needs to change orientation to show a video and switch back both android and iOS. Need help on this.

Please let me know.

Thanks in advance

@dpa99c
Copy link
Owner

dpa99c commented Feb 24, 2016

cordova.plugins.diagnostic@2.3.6 fixed this issue. The current release is 2.3.10 - make sure you're using an up-to-date version and it should work fine with cordova-ios@4+

btw, this plugin has nothing to do with changing screen orientation - are you sure you didn't mean to post here: https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues/84

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

5 participants