ld: library not found for -lCHTTPParser for architecture x86_64
Closed this issue · 4 comments
lizixroy commented
Got this error when building in Xcode on OS X El Capitan 10.11.6 (15G31):
ld: library not found for -lCHTTPParser for architecture x86_64 #51
Any idea how to resolve this issue?
Thanks.
ianpartridge commented
Which version of Xcode?
lizixroy commented
@ianpartridge Version 8.0 (8A218a)
Also tried on Version 8.1 (8B62), got the same error.
shmuelk commented
What was in the Package.swift file that you used to generate the Xcode project?
I assume you were using the Swift toolchain that came with Xcode and that when you migrated from Xcode 8.0 to Xcode 8.1 you regenerated the Xcode project.
lizixroy commented
@ianpartridge @shmuelk Thanks for the help, I solved the problem by adding "$SRCROOT/.build/debug" to the Library Search Path in Kitura target. It now compiles fine.
This was suggested by someone in the Kitura Slack channel, I don't know why it works though.