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

iOS AppFlow Build Errors #596

Closed
3 tasks done
chukwumaokere opened this issue Dec 22, 2019 · 5 comments
Closed
3 tasks done

iOS AppFlow Build Errors #596

chukwumaokere opened this issue Dec 22, 2019 · 5 comments

Comments

@chukwumaokere
Copy link

chukwumaokere commented Dec 22, 2019

Bug Report

Problem

When I try to build this app using Ionic's Appflow I get a long string of warnings and errors that cause my build to fail.

What is expected to happen?

The build should suceed

What does actually happen?

I get deprecation warnings and then reference to "self" errors.

Information

Command or Code

Environment, Platform, Device

Appflow for iOS

Version information

Cordova

Here are the errors: appflowerrs.txt

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@breautek
Copy link
Contributor

Please list your cordova-ios version & plugin versions. You can find this information out by using the following commands:

cordova platform ls
cordova plugin ls

Thanks.

@chukwumaokere
Copy link
Author

Please list your cordova-ios version & plugin versions. You can find this information out by using the following commands:

cordova platform ls
cordova plugin ls

Thanks.

> cordova.cmd platform ls
Installed platforms:
  android 8.1.0
  ios 5.1.1
Available platforms:
  browser ^6.0.0
  electron ^1.0.0
  osx ^5.0.0
  windows ^7.0.0

> cordova.cmd plugin ls
call-number 0.0.2 "Cordova Call Number Plugin"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-email-composer 0.9.2 "EmailComposer"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-ionic 5.4.5 "cordova-plugin-ionic"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"

@breautek
Copy link
Contributor

Are you using the WKWebViewOnly preference?

@chukwumaokere
Copy link
Author

chukwumaokere commented Dec 22, 2019

I.. don't know. Is there a place I can check for that?

Are you using the WKWebViewOnly preference?

EDIT:
I checked in my config.xml:
I have this
<preference name="WKWebViewOnly" value="true" />

@breautek
Copy link
Contributor

There is a known issue with using WKWebViewOnly with the inappbrowser plugin reported at #583

This is because while cordova-ios hides the UIWebView APIs, inappbrowser still needs them and doesn't have the same flag.

You can try forking the plugin and applying the PR #584 to your own fork for a potential solution.

I'll be closing this issue as a duplicate of #583

If you have more valuable information, I would encourage you to participate in #583 in order to keeps things consolidated all in one place. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants