Class is implemented in both. One of the two will be used

前端 未结 4 1073
小鲜肉
小鲜肉 2020-12-03 02:31

I have a project that has a dependency (installed via CocoaPods) using SocketRocket and have imported a static library from HeapAnalytics. Apparently the HeapAnalytics libra

4条回答
  •  伪装坚强ぢ
    2020-12-03 03:05

    Overview:

    The error suggests that the same symbol / class is defined twice.

    Solution:

    • Check the frameworks linked to see if there are any duplicates. If so remove the duplicate
    • Clean build folder (Command + Shift + K)
    • If simulator, then reset the simulator and try
    • If device, restart the device and try

    My experience:

    I faced the same issue twice, once it was duplicate frameworks and the other time resetting simulator helped.

提交回复
热议问题