Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Can only launch one ionic 3 app at a time on ios #752

Closed
lolaswift opened this issue Dec 1, 2018 · 1 comment
Closed

Can only launch one ionic 3 app at a time on ios #752

lolaswift opened this issue Dec 1, 2018 · 1 comment
Labels

Comments

@lolaswift
Copy link

lolaswift commented Dec 1, 2018

I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request

Current behavior:
Can only launch one ionic 3 app at a time on ios physical device. No issues on android devices

Expected behavior:
Should be able to launch multiple ionic 3 app.

Steps to reproduce:

  1. Create app1 and app2:
    ionic start app1 blank
    Integrate your new app with Cordova to target native iOS and Android? Yes

ionic start app2 blank
Integrate your new app with Cordova to target native iOS and Android? Yes

  1. add ios platforms to both projects and install the apps to a physical ios device(I tested it on an iphone x):

ionic cordova run ios

When the second app opens, it might give error "Unable to load app". If it doesn't, make sure the first app is open, and launch the second app again.

  1. If install the apps using xcode, xcode displays the following error message:

2018-12-01 19:43:08.803751+0100 app2[1585:847792] Multi-tasking -> Device: YES, App: YES
[ERROR] Failed binding IPv4 listening socket: Address already in use (48)
2018-12-01 19:43:08.841943+0100 app2[1585:847792] CDVWKWebViewEngine: trying to inject XHR polyfill
2018-12-01 19:43:09.938194+0100app2[1585:847792] CDVWKWebViewEngine will reload WKWebView if required on resume
2018-12-01 19:43:09.938250+0100 app2[1585:847792] Using Ionic WKWebView

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

$ ionic info
:heavy_check_mark: Gathering environment info - done!

Ionic:

ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.3.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 10 other plugins)

System:

ios-deploy : 1.9.2
ios-sim : 5.0.6
NodeJS : v8.11.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS Sierra
Xcode : Xcode 9.2 Build version 9C40b
@ionitron-bot ionitron-bot bot added the triage label Dec 1, 2018
@lolaswift lolaswift changed the title Can only launch one ionic 3 app at a time Can only launch one ionic 3 app at a time on ios Dec 1, 2018
@lolaswift
Copy link
Author

Will be addressed in ionic-team/cordova-plugin-ionic-webview#165
closed!

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

No branches or pull requests

1 participant