Dependency analysis error

10 replies [Last post]
sigurdasson
User offline. Last seen 8 years 50 weeks ago. Offline
Joined: 05/06/2012
Posts:

After adding framework to my project, I have this error:

File /Users/USERNAME/Library/Developer/Xcode/DerivedData/APPNAME-gsmxpefbjmwceihawcsaqehaifom/Build/Products/Debug-iphonesimulator/libGPUImage.a depends on itself. This target might include its own product.

Please help me solve this problem.

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

Honestly, I've never seen that error before. Try cleaning your project and rebuilding. Also, try building one of the sample applications that come with the project to verify that the framework builds cleanly on your machine.

lamfan
User offline. Last seen 9 years 5 days ago. Offline
Joined: 05/07/2012
Posts:

I had the same problem, I'm using the sample applications. please help......

sigurdasson
User offline. Last seen 8 years 50 weeks ago. Offline
Joined: 05/06/2012
Posts:

Brad Larson wrote:
Honestly, I've never seen that error before. Try cleaning your project and rebuilding. Also, try building one of the sample applications that come with the project to verify that the framework builds cleanly on your machine.

Examples work fine. Cleaning is also failed with the same error. I've MacBook Pro, Mac OS X 10.7.3 and Xcode 4.3.2...

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

If you followed the instructions on the project page to add GPUImage, make sure that you didn't add GPUImage as a dependency to the GPUImage.xcodeproj project, instead of your application project. Look under the Target Dependencies for both GPUImage and your application within the Build Phases tab to verify this.

sigurdasson
User offline. Last seen 8 years 50 weeks ago. Offline
Joined: 05/06/2012
Posts:

It was checked, everything in its place.

sigurdasson
User offline. Last seen 8 years 50 weeks ago. Offline
Joined: 05/06/2012
Posts:

Wow.
Just try to use examples - not working for now with the same error!
Two days ago it worked fine.
What's happening?

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

It has to be something localized to your system, because I just downloaded the latest version of the framework, did a clean build of the FilterShowcase example, and it installed and ran without a hitch. There were no cyclic dependencies anywhere in the framework or the sample applications. You might want to try deleting your local installation, clearing out your DerivedData, and redownloading the framework.

lamfan
User offline. Last seen 9 years 5 days ago. Offline
Joined: 05/07/2012
Posts:

problem solve after I download the GPUImage again! thx Brad Larson!

GPUImage is the coolest framework!!!

one more question, can we use that framework for publish on app store? thanks!

Brad Larson
Brad Larson's picture
User offline. Last seen 4 years 22 weeks ago. Offline
Joined: 05/14/2008
Posts:

Yes, the framework is BSD-licensed, so you can freely use it however you want. There are several applications using it already on the App Store, and more to come.

lamfan
User offline. Last seen 9 years 5 days ago. Offline
Joined: 05/07/2012
Posts:

thanks Brad!

Syndicate content