Xcode & cocoapods错误:File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefau...

问题描述:

引入了一个新的cocoapods依赖之后,启动运行,显示Fail,报错File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a.

找不到文件:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchains/usr/lib/ac/libarclite_iphonesimulator.a

 

解决方法:

在Xcode中的Pods文件中找到新添加的依赖的Minimum Deployments,将版本改为iOS 11.0

重新启动运行,运行成功,bug解除.

Xcode & cocoapods错误:File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefau..._第1张图片

Xcode & cocoapods错误:File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefau..._第2张图片

鸣谢:https://www.jianshu.com/p/86a5313ce4cc

你可能感兴趣的:(xcode,cocoapods,macos,ide)