A new class has been added today (including the M,h,xib file) and has not been called,-the compilation encountered the following error, according to the error prompt,
inch : /users/xxxx/library/developer/xcode/deriveddata/xxxx-ccqyiywbeowkgmaitropkiovpeou/build/intermediates/ xxxx.build/debug-iphonesimulator/xxxx.build/objects-normal/x86_64/classa.o /users/xxxx/library/ developer/xcode/deriveddata/xxxx-ccqyiywbeowkgmaitropkiovpeou/build/intermediates/xxxx.build/ debug-iphonesimulator/xxxx.build/objects-normal/x86_64/1for1 (Use- V to see invocation)
Analysis:
Variable param1 error, given two types of ClassA and CLASSB, the view found that in the two class M files are defined in the global static constant param1;
Solution:
Rename the param1 in one of the classes to param2
//////////////////////////////////////////////////////////////////////////////
The above is a situation encountered, check the information on the Internet and others encountered other errors, also package similar errors, you can refer to the solution:
IOS-Appear (linker command failed with exit code 1) Error Summary
iOS encounters an error duplicate symbol XXX in:xxx
[Problem] Compilation error: Clang:error:linker command failed with exit code 1 and duplicate symbol XXXX in error resolution one of the methods