Duplicate Symbols for Architecture arm64

前端 未结 24 2672
礼貌的吻别
礼貌的吻别 2020-12-02 16:21

When I try running my Xcode Project it fails with an error stating that I have duplicate symbols. I looked online where the find these duplicates but have had no luck:

24条回答
  •  隐瞒了意图╮
    2020-12-02 17:06

    I got this issue because I was lazily defining a variable in my .m outside of a method, then in another .m file I was defining another variable with the same name outside a method. This was causing a global variable name duplicate issue.

提交回复
热议问题