IOS Xcode: linker command failed with exit code 1 (use, xcodelinker

Source: Internet
Author: User

IOS Xcode: linker command failed with exit code 1 (use, xcodelinker

I just transferred to iOS for development, but it is still difficult to draw complex interfaces. Let's not talk much about it...

 

Today, we have another problem with "linker command failed with exit code 1 (use-v to see invocation,

What bothers me most is that Xcode does not point out specific error code, which makes it more difficult for a newbie to find a problem,

The following is a summary of my errors:

1. The link or image used in the Storyboard does not exist.

Solution: remove the images used in the Storyboard.

2. The defined class name and image name overlap (this also makes it difficult for me to figure out why the image name and class name cannot be the same ).

Solution: Modify the two names to different names, or temporarily comment out the class names to compile successfully.

Probably used to it. NET in the simple and beautiful syntax, to the Objetive-c side, how to see the code is not beautiful, there is no beauty, will no longer look like in. NET.

3. The third-party library. a file used does not exist locally.

Solution: I: Find the database and add a reference again.

II: temporarily comment out the code called to this database, and the code can be compiled.

 

Jeremy. Chou

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.