The following error occurs in the train example:

Source: Internet
Author: User

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.

1

 

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.