问题1:
1.打开Xcode项目 XX.xcworkspace,找到项目的Build Phases把带有pods的项都叉掉
“pod deintegrate”
“sudo gem install cocoapods-clean”
“pod clean”
Open the project and delete the “Pods” folder that should be red
//然后打开项目把应该带有红色的pods文件夹给删掉
“pod setup”
“pod install”
参考:https://www.coder.work/article/4470417
问题2:出现Could not find auto-linked library ‘swiftCoreGraphics’
或者
会报ld: library not found for -lPods错误,原因就是工程里面的设置项覆盖了pods中xcconfig中的设置。解决办法就是在build setting->other linker flag中,加上**$(inherited)**即可。
参考链接:https://www.jianshu.com/p/64d222584332
因篇幅问题不能全部显示,请点此查看更多更全内容