-
Notifications
You must be signed in to change notification settings - Fork 49
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
Conflicting with cordova-plugin-ionic-webview #12
Comments
Holy... this sounds like a real problem. My project was build first with plain cordova, but it seems that a lot of people use ionic more than the plain cordova stack... |
@kukukk I get the same problem. could you tell me how did you do to start a webserver? The js Embedded in my ionic app sends http request with http://localhost:8100. when I start a webserver with port 8100, it failed. when I start a webserver with 1111, it success,but doesnot perform "webserver.onRequest" . Could you help me ? Thank you. |
@waidp521: Since you are able to build your project you have a different problem. |
Has this issue been fixed yet?? I also need to use this plugin with Ionic iOS webview... Could the GCDWebServer be removed for iOS to build without issues? |
@samuelsont No it's not fixed yet. |
I will try that. It should work. However, I'm kinda lost on some important details. I guess the webserver starts in the same directory as the calling script. Is there a way to specify the www root folder? Also, how do I check and verify the webserver ip and port? |
Hi! It seems that I will have to return to my project where I used this plugin. So, it is possible that I will make some more digging :}} @samuelsont |
The lastest version of cordova-plugin-webserver uses CocoaPods as iOS package manager to pull in GCDWebServer. Can anyone confirm if the latest version resolves this issue? |
Still lots of ppl using plain Cordova without Ionic (I might mention). ;) |
looks like this may have been fixed for IOS ionic-team/cordova-plugin-ionic-webview#244 |
Hi,
I wanted to try your plugin on iOS. A created a fresh new Ionic project and added your plugin. But when I try to build it I get an error. I tried from command line with "ionic cordova build ios" and also from Xcode but I got the following error: "197 duplicate symbols for architecture arm64".
After some more digging I found out that when I add the ios platform to ionic it automatically includes the cordova-plugin-ionic-webview plugin which also contains GCDWebServer. This is where the duplicate symbol error comes from.
Do you have an idea how to workaround this problem?
I'm using:
Update:
If I remove cordova-plugin-ionic-webview it works. But, since it is include in Ionic by default, I'm not sure whether it is a good solution or not...
The text was updated successfully, but these errors were encountered: