1 duplicate symbol for architecture x86_64

前端 未结 4 2360
清歌不尽
清歌不尽 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:31

    duplicate symbol _main
    

    You have two main.m files and the function main() is in conflict.

    Just delete the main.m under CERangeSlider and it should work.

提交回复
热议问题