Xcode报错 'xxxx' has different definitions in different modules; defined here
修复步骤:
- 点击菜单栏 Window -> Devices and Simulators
- 右键你当前连接的设备 -> Unpair Device
- 退出Xcode
- 打开Finder(访达),command+shift+g,输入 ~/Library/Developer/Xcode/iOS DeviceSupport 回车。
- 删除里面的所有内容
- 重新打开工程编译。
- 完成。