Showing Recent Issues clang: error: linker command failed with exit code 1 (use -v to see invocation)?

南笙酒味 提交于 2021-01-29 14:40:11

问题


I am new to IOS app development..I trying to integrate firebase firestore..After doing all add commands..I build using command+B then I am getting below errors...how to solve

Below is my error

Below is my project structure


回答1:


Try to open project.xcworkspace instead of project.xcodeproj.

Note: Press Command + Q to exit xcode. And open yourfile.xcworkspace.




回答2:


Clean your project and build again solve your problem.

Product - Clean

Then also, if error is still there delete you derived data.

Library/Developer/Xcode/ Derived data



来源:https://stackoverflow.com/questions/52051431/showing-recent-issues-clang-error-linker-command-failed-with-exit-code-1-use

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!