When you try to import a library or a framework in your project you might face an issue saying
There could be a bunch of options to fix this issue.clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can't say that my solution is the answer for you. But it could an answer for someone. In my case I did below.
First
- Select your target project and go Frameworks, Libraries, and Embedded Content section.
- Make Embed column Embed & Sign
- Clean and build your project again
Second
- Remove the derived data
- Clean and build your project again
Third
- Go Project > Build Settings
- Update Enable Bitcode to
No
- Go Targets > Build Settings
- Update Enable BitCode to
No
Thanks for sharing this article here about the linker command failed with exit code 1. Your article is very informative and I will share it with my other friends as the information is really very useful. Keep sharing your excellent work.
ReplyDelete