Linker command failed with exit code 1 - duplicate symbol __TMRbBp

前端 未结 15 2202
醉酒成梦
醉酒成梦 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 ran into this problem recently creating a new project and adding some pods (AlamoFire specifically) to the project. Troubled with it a couple hours or so recreating the project (it was new) several times. Tried all the methods here and no luck.

    Eventually I figured out that it was because XCode V10.1 was also opening the old project file along with the new pod-created workspace when I opened the workspace via command line "open myProject.xcworkspace" when I reopened the project after doing "pod install"

    Closing all projects before exiting XCode before I did my "pod install" fixed everything for me.

提交回复
热议问题