Duplicate Symbols for Architecture arm64

前端 未结 24 2498
礼貌的吻别
礼貌的吻别 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 16:51

    I've messed up my pods while downgrading a pod and I've managed to resolve the issue with duplicate symbols for architecture arm64 by removing the pods and installing them again with:

    pod deintegrate
    pod install
    
    0 讨论(0)
  • 2020-12-02 16:51

    check your include file, I had this issue because I accidentally #imported "filename.m" instead of "filename.h", autocorrect (tab) put an "m" not "h".

    0 讨论(0)
  • 2020-12-02 16:51

    From the errors, it would appear any Classes appear multiple time.Find and removed that Classes it will working.

    Am creating AppDelegate.h and .m file creating multiple time. So this error will occur.Finally find and removed that classes it's working fine for me.

    0 讨论(0)
  • 2020-12-02 16:51

    The problem for me was I had manually included a framework but then also included that same framework in CocoaPods not knowing I did so. Once I removed one or the other, the problem went away

    0 讨论(0)
  • 2020-12-02 16:51

    I got this issue when I had two files that had the same name on accident (large project, oops!)

    Ironically they were actually the same file, I just had forgotten that I had already created one as a placeholder weeks earlier and gave it the same name again, haha!

    0 讨论(0)
  • 2020-12-02 16:54

    See Duplicate symbol error when adding NSManagedObject subclass, duplicate link

    0 讨论(0)
提交回复
热议问题