Xcode 6 after deleting deriveddata, compile exception

Source: Internet
Author: User

First, the phenomenon

Xcode 6 compiles an exception and always reports that the project name directory cannot be found.

Ld:file not found:/users/dxxxdev/library/developer/xcode/deriveddata/xxxx-xxdfasdfasfasdoczqswzexnvbxai/build/ Products/debug-iphoneos/xxxx.app/xxx

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

Second, the reason

When the project was originally created, the use of the English name (the use of Chinese names will be garbled, that is, after the identify three short horizontal, can not be deleted).

After the project is created, change the name to Chinese.

Clear all deriveddata once, without any problems before clearing.


Iii. Methods of Treatment

1. Discard Test Build

Menu Product--scheme-->Edit Scheme

On the left, select the Build, and the right part of the red circle is unchecked.




2. Recovery method


Target - Build Settings-->packaging--and Product Module name to the original English name (that is, what file is not found in the error, you can change to what file name).

You can then change the name back to the Chinese name.



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Xcode 6 after deleting deriveddata, compile exception

Related Article

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.