I'm trying to build a server-side Swift web application. The foundational framework for my app will be Kitura from IBM. Additionally, I would also like to make use of the aws-sdk-swift framework for calls in to AWS. However, when I declare both libraries as dependencies in my Package.swift
file, I get an error saying:
'Kitura-net' /Volumes/Untitled/SwiftDev/MyApp/.build/checkouts/Kitura-net.git--7410958935072501107: error: multiple targets named 'CHTTPParser'
If I comment out the aws-sdk-swift
dependency, everything works fine. If I uncomment it and comment out the Kitura
dependency, everything works fine. But clearly there is a conflict between them on CHTTPParser. My question is, how do I resolve it? I've never seen this error before, and a quick Google search turned up nothing. Any ideas?