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