File not found:/users/hx/library/developer/xcode/deriveddata/build/products/...

Source: Internet
Author: User

Since there are two target in a project, it is called Target A and target B! After the project name has been changed, the following error is reported when running in the emulator:

Ld:file not found:/users/hx/library/developer/xcode/deriveddata/build/products/debug-iphonesimulator/yq_hx.app/ Yq_hx

Clang:error:linker command failed with exit code 1 (use-v to see invocation)


The Internet has turned over and over, some say the project name is different, we suggest to change the project name according to the following path ,

Build Setting----"Product Name---

But I checked my project and found out that the project name was no problem. Then continue to find solutions ...


Here's another solution:

Xcode/build settings/packaging/private Headers Folder path and product Module name under name change to your project name.

After inspecting the project, I found that my one was right. Continue to find solutions ...


After several twists and turns, it was discovered that the project's target a and target B managed to confuse the problem. Press the path below

Product-> scheme-> Manage Schemes ...

Open the Schemes Admin panel, then delete the deleted, associate the associated, and the problem is resolved.

Your problem maybe the first two solutions can help you solve, mine is a project after changing the name of the project target A and target B management problems, if you are also a project multiple target under the problem I said, patient reading may help you solve the problem.

File not found:/users/hx/library/developer/xcode/deriveddata/build/products/...

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.