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

Duplicate symbol error when building for ios #54

Open
dakar89 opened this issue Aug 24, 2016 · 0 comments
Open

Duplicate symbol error when building for ios #54

dakar89 opened this issue Aug 24, 2016 · 0 comments

Comments

@dakar89
Copy link

dakar89 commented Aug 24, 2016

I get the "duplicate symbol"-error when i try to build a cordova app for ios.
The error seems so be caused by having another plugin installed that also uses the GCDWebServer (CordovaLocalWebServer).

So, because the GCDWebServer-files are located inside the ConnectSDK.framwork, they will conflict with the GCDWebServer-files locatated in my Plugins-folder in the XCode project.

This is the first "duplicate symbol"-error and it's followed by many more, all referring to "GCDWebServer":
duplicate symbol OBJC_CLASS$_GCDWebServerErrorResponse in:
/Users/me/cordova/platforms/ios/build/MyApp.build/Debug-iphonesimulator/My-App.build/Objects-normal/i386/GCDWebServerErrorResponse.o
MyApp/Plugins/cordova-plugin-connectsdk/ConnectSDK.framework/ConnectSDK(GCDWebServerErrorResponse.o)

My installed plugins:
cordova-labs-local-webserver 2.4.0 "CordovaLocalWebServer"
cordova-labs-wkwebview-engine-localhost 0.5.0 "Cordova WKWebView Engine with http server (localhost) support"
cordova-plugin-connectsdk 1.6.0 "Connect SDK"
cordova-plugin-wkwebview-engine 1.0.3 "Cordova WKWebView Engine"

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

1 participant