Linker command failed with exit code 1 - duplicate symbol __TMRbBp

前端 未结 15 2049
醉酒成梦
醉酒成梦 2020-12-25 10:43

Since I\'ve updated to Xcode 8.1 I can\'t archive and also not run in Release mode (in debug mode its working). The error is that there are several \"duplicate symbols for a

相关标签:
15条回答
  • 2020-12-25 11:09

    I got this error due to deletion of some files. For me simply cloning my project worked.

    0 讨论(0)
  • 2020-12-25 11:21

    Don't double click Project.xcodeproj to start your xcode project. Instead, close your project and open the xcworkspace.

    File -> Close Workspace
    
    File -> Open -> Search your project folder for Project.xcworkspace
    

    All my errors are gone.

    0 讨论(0)
  • 2020-12-25 11:22

    I had removed files from Compile Sources in Build Phases in Targets. I added main.m and it worked.

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