LayoutKit icon indicating copy to clipboard operation
LayoutKit copied to clipboard

Compile error when using pod

Open jiaopen opened this issue 7 years ago • 5 comments

image This problem can be fixed after i added "import Foundation" in ViewRecycler.swift

jiaopen avatar Jan 30 '18 08:01 jiaopen

Thanks for the report!

staguer avatar Jan 30 '18 19:01 staguer

Could you fix this defect asap, thx, unless i have to use private pod repo.

jiaopen avatar Feb 01 '18 10:02 jiaopen

@jiaopen I don't find this issue. Could you share your Xcode version?

jingwei-huang1 avatar Feb 01 '18 16:02 jingwei-huang1

Version 9.2 (9C40b)

jiaopen avatar Feb 02 '18 02:02 jiaopen

I think i‘ve found the problem. I used a plugin in pod file

plugin "cocoapods-static-swift-framework"

static_frameworks

however i still believe that ‘import Foundation’ should be in ViewRecycler.swift.

jiaopen avatar Feb 05 '18 10:02 jiaopen