I am trying to update one of my project, when I opened it I performed validated settings, but when I try to build it I just face with this error :
Apple Mach-O Linker Error Group : clang: error: linker command failed with exit code 1 (use -v to see invocation)
with no more infos and I am not using cocoapods or any external frameworks. I just searched everywhere and did any possible solution such as :
and etc...
Is there anything to solve this issue ?!
Right-click the error in the the Issue Navigator. Choose "Reveal in Log" or "Reveal in Project Navigator "and see the actual error message.
-Try this 1.Xcode -> Preferences -> Location -> click on derived data path and clear all derived data. 2."Build Phases" -> "Compile Sources" and look for duplicate of classes. 3.Or check if you have "*.m" files in your #import
I got this error when I forget to update my submodules (Carthage in my case). After I update my submodules I didn't get the error.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.