Update to GCDWebServer dependency causing conflict
michaeleustace opened this issue · comments
In a project, I already include the GCDWebServer
pod.
This never caused any problems when I added the SBTUITestTunnelServer
pod to the same target.
However, since the commit to use GCDWebServer-SBTIUTestTunnel
instead of GCDWebServer
(commit e442ff1), I now get the following warning message in Xcode (when building for simulator):
warning: Multiple targets match implicit dependency for linker flags '-framework GCDWebServer'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'YYYY' from project 'XXXX')
note: Target 'GCDWebServer' (in project 'Pods')
note: Target 'GCDWebServer-SBTUITestTunnel' (in project 'Pods')
but more importantly, I get the following archive error:
Multiple commands produce '[redacted]/GCDWebServer.framework'
Showing All Messages
Target 'GCDWebServer' (project 'Pods') has create directory command with output '[redacted]/GCDWebServer.framework'
Target 'GCDWebServer-SBTUITestTunnel' (project 'Pods') has create directory command with output '[redacted]/GCDWebServer.framework'
Could you please revert to using the official GCDWebServer?
Could you double check if https://github.com/Subito-it/SBTUITestTunnel/tree/feature/embed-gcdwebserver fixes your problem? We had to fork GCDWebServer because it is no longer maintained (the repo is archived) and we needed to make some changes. Revert is not an option but embedding the dependency and changing symbol names may be an acceptable workaround
I made some additional changes and tried on a project importing both the tunnel and GCDWebService. Things seem to work so I would tend to merge this. A feedback would be useful to learn if it fixes the problem also with your setup.
I began merging these changes. If you're still having an issue please open a new one again.