背景
在编译App项目时出现报错
Module file ‘/Users/xxx/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/129WN8D29KPLF/UIKit-1V5UHAPTOD24G.pcm’ is out of date and needs to be rebuilt: signature mismatch
解决方法
1、找到目录/Users/xxx/Library/Developer/Xcode/DerivedData,删除ModuleCache.noindex文件夹下的内容
2、使用快捷键command+shift+k 对build文件进行清理
3、重新编译