Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This target might include its own product

Tags:

xcode

iphone

ipad

File .../FaceDeFace.app depends on itself.
This target might include its own product.

File .../FaceDeFace.app depends on itself.
This target might include its own product.

I have done my project in os Snow leopard but now my os version also changed and it is now 10.7.3. This is installed in my Imac machine. This app start first in MacBook but now I want to develop it in IMac. But the above error is shown so what i have to do. Though I have change all of my certificate, and all provisioning profiles newly. Please help. Thanks i advance.

like image 626
Banshi Avatar asked May 04 '12 12:05

Banshi


1 Answers

Select the target in your Xcode project and click the Build Phases tab. Look at the Target Dependencies list; the target's product should not be listed there, but it sounds like it may have been added to that list by mistake. Also check the other areas in that same tab -- you don't want your product listed in Copy Bundle Resources or Link Binary With Libraries, either -- you obviously can't use the thing that you're building as a resource or library to build the product in the first place. That's what Xcode seems to be complaining about.

like image 126
Caleb Avatar answered Oct 05 '22 16:10

Caleb