SwiftOCR icon indicating copy to clipboard operation
SwiftOCR copied to clipboard

GPUImage module not found

Open fraserqed opened this issue 7 years ago • 4 comments

image

I'm found similar issues around but none of the solutions seem to work. I get the error "No such module 'GPUImage'" when building the final product on all examples. I can build all the frameworks with no problem. Also, GPUImage framework is included in the embedded binaries and and linked frameworks. I'm using XCode Version 7.3.1 (7D1014), OS X 10.11.3 on a MacBook Air.

Thanks!

fraserqed avatar Aug 10 '16 18:08 fraserqed

Could not reproduce. Did you try to clean your build folder?

NMAC427 avatar Aug 10 '16 18:08 NMAC427

Yes, cleaned successfully. Also, a colleague can run the same zipped project folder on a different machine with no problems. My GPU is an Intel HD5000 but I would hope that wouldn't matter.

fraserqed avatar Aug 10 '16 19:08 fraserqed

Hmmm... I have no idea why it doesn't work but I found this: http://stackoverflow.com/questions/29500227/xcode-no-such-module-error-but-the-framework-is-there

You could also try to delete your Derived Data directory (~/Library/Developer/Xcode/DerivedData) and/or adding $'inherited' to Framework Search Path.

NMAC427 avatar Aug 10 '16 20:08 NMAC427

This happened to me when I had another project - that also imported GPUImage - running. Closing the other project and running SwiftOCR Training again, fixed.

Lucien avatar Apr 07 '17 20:04 Lucien