NMAC427 / SwiftOCR

Fast and simple OCR library written in Swift
Apache License 2.0
4.62k stars 482 forks source link

GPUImage module not found #39

Open fraserqed opened 8 years ago

fraserqed commented 8 years ago

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!

NMAC427 commented 8 years ago

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

fraserqed commented 8 years ago

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.

NMAC427 commented 8 years ago

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.

Lucien commented 7 years ago

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