In iOS development, many people will encounter such an error
Linker command failed with exit code 1 (use-v to see invocation)
The possible causes are as follows:
1. Quote error, make ***.h. m, check all your references;
2. Then you refer to the third-party library, you add the file is the system does not have a third-party library of the. m file in the compilation, you have to add files to the project attention;
3. Locate the build Settings->linking->other Linker Flags and modify this property to-all_load or-OBJC;
4. See if there is a newly added file with the same name as the previous file;
5. The name of a class appears in the error message, go to the original file to see which third-party libraries are #import, exclude these libraries from one another, find the library where the error occurred, and then add them again in accordance with the official steps.
PS. My own problem is the 4th reason, when I re-organize the document, drag the duplicate files in the project;
IOS ERROR: Linker command failed with exit code 1 (use-v to see invocation) cause