GCDWebServer icon indicating copy to clipboard operation
GCDWebServer copied to clipboard

Error: Cocoapod not working anymore with use_frameworks!

Open dylancom opened this issue 4 years ago • 3 comments

If you install GCDWebServer from a cocoapod and your podfile contains use_frameworks!, "GCDWebServerPrivate.h" can't be found anymore in many files. For e.g. the file: GCDWebServerStreamedResponse.m reports the error: 'GCDWebServerPrivate.h' file not found.

When removing use_frameworks! from the podfile (and perform another pod install) all imports work fine again.

dylancom avatar Apr 13 '21 17:04 dylancom

same problem, did you fix it?

taikhoan01 avatar Jun 05 '21 04:06 taikhoan01

i don't import pod "GCDWebServer", "~> 3.0" pod "ConnectSDK" to project can you show me how import and run project

taikhoan01 avatar Jun 05 '21 05:06 taikhoan01

Fixed it with

pod "GCDWebServer", "~> 3.0", :modular_headers => true

lockieluke avatar Nov 18 '22 23:11 lockieluke