-
Notifications
You must be signed in to change notification settings - Fork 582
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 Symbols when trying to compile with a library that correctly references GCDWebServer in its podspec file #3814
Comments
I've an 8k line patch that seems to work well for myself. Could be a good basis to including the GCDWebServer project as a dependency rather than a copy+pasted "duplicate symbol nightmare". |
Excellent! Well, I hope that whatever solution you go for in the end considers integrating third party libraries either:
Otherwise, if anyone else needs the patch file for their project, I can provide it. |
@xploSEoF any chance you could send over the patch file? we are running into this issue on our project |
@yungpear Sorry for the late reply, I was on holiday when you asked and I overlooked updates on Github.
|
You saved my life. why this patch doesn't go to main code? |
I've been using realm-js for the better part of the last 5 years in a React Native project, and haven't noticed anything wrong until now.
Goals
We now need a web server in the project, and I've installed
react-native-static-server
. This has a podspec file, including the GCDWebServer module at~3.0
.Expected Results
This should compile fine and run fine. CocoaPods should handle the version numbers and match accordingly.
Actual Results
Steps to Reproduce
ios
folder runpods install
Version of Realm and Tooling
Whilst the versions don't matter as the issue still resides in the latest code, I'll include the ones I'm running in my main codebase.
Proposed Solution
vendor\GCDWebServer
directory and its contentsrealm.podspec
to thefiles
array in the package.json filerealm.podspec
file in the route of the project, which should look something like this:The text was updated successfully, but these errors were encountered: