BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.87k stars 609 forks source link

import GUPImage fails ! #185

Open rlx opened 7 years ago

rlx commented 7 years ago

Hi I am using latest Xcode 9 beta 4. Importing GPUImage files - even in the example project for simple video filter Please help!

screen shot 2017-08-07 at 11 32 17

Could it be some kind of naming issue with the framework??

BradLarson commented 7 years ago

Is this after actually building your project? The Swift compiler reports that before the module has been built, which is a bit of a false positive. Try building the project, which should get rid of this error.

rlx commented 7 years ago

Tried re-building of course but didn't work. Tried clearing, erasing Xcode cache but nothing. It refuses to recognize it

BradLarson commented 7 years ago

Try with one of the projects in the examples directory. Last I checked, those all built just fine under Xcode 9 beta 3, but I haven't had the time to check everything under beta 4.

Make sure that you've set GPUImage as a build dependency for the application to make sure it is built before the application is.

One thing that I see in your screenshot above is GPUImage at the same level as your application, which doesn't seem right. If you have GPUImage open in another workspace or project, that could be preventing it from building in your current project. You can only have a framework open in one Xcode project at a time.

premyslvlcek commented 6 years ago

Hello there, I just wanna add there might be a problem when you have different than default configurations on the project. GPUImage2 counts with the fact that there is debug and release configuration. So it copies itself in the derivate data folder named debug/release. I have configurations named develop, testing and production so i had to add them in GPUImage too so the .framework stuff is copied in the correct folders.