今天更新了Xcode10,之前的项目编译报错了,然后网上各种找原因,终于解决了。报错内容如下:

分析error内容,错误发生在Copy Pods Resources,而且与output有关,应该是使用了cocoapods导致的,尝试删除该项目target-Copy Pods Resources-Output Files,成功解决问题。
解决步骤
选中项目target ----> Build phase ------> Copy Pods Resources -----> Output Files -----> 移除${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}-> Build

再去编译结果编译通过,运行项目也正常,现在还没发现有何异常。
网友评论