The following error occurs in the train example:
File/users/Apple/library/developer/xcode/deriveddata/trainbusiness-efbqrqlukihelocfyoqtlvdfewze/build/products/debug-iphonesimulator/trainbusiness. APP depends on itself. this target might include its own product.
Then, you can find the following solutions on the Internet:
Up vote1down votefavorite 1 |
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. |
Was this post useful to you? |
1 answer
Activeoldestvotes
Up vote1down voteaccepted |
Select the target in your xcode project and click the build phases tab. look at the target dependencies list; the target's product shoshould 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.
|
|
It works fine when I am deleting product. app from copy bundle resources under targets-> build phases-> copy bundle resources. Thanks for helping me .- |
|
Answer!
I'm not sure if this will solve ".... depends on itself. this target might include its own product. "Error for everyone or not, but for me I solved it by going to the products folder of my project and then clicking command-I to get info. then go to the targets tab and make sure nothing is checked in the target memberships.