1 duplicate symbol for architecture x86_64

前端 未结 4 2357
清歌不尽
清歌不尽 2021-02-20 13:55

I am not sure what I have done wrong.
I moved my project folder to another folder and copied the backup folder to desktop.
I tried to open the backup project and build

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-20 14:26

    You need to add necessary framework to your project. Check all third party party framework and search its required framework for support. For e.g. if you add google analytic then you need to add CoreData , Foundation etc framework. There is some framework is missing for which third party framework needs.

    Or you can-

    1. Press "Cmd + Shift + K" or shift + cmd + alt + k to clean up, and quit Xcode.
    2. Delete the cache Run "rm -rf ~/Library/Developer/Xcode/DerivedData" in terminal

    3. Open the project and re-build it

    Linker command failed with exit code 1 - to solve this error press "Cmd + Shift + K" or shift + cmd + alt + k this will do the work for you. I also have this same issue but solved by using this line . Hope this will solve your problem.

    OUTPUT OF YOUR PROJECT -

提交回复
热议问题