且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

本地CocoaPods Pod编译错误

更新时间:2021-07-20 00:50:10

我遇到了类似的问题:
修改后的Pod无法编译

I was running into a similar issue: Modified Pod not getting compiled

我设法找出Pod的源文件和静态库(.a)缓存在以下路径中:

I managed to find out that my Pod's source files and static library (.a) were cached in this path:

/ Users /'<'username'>'/ Library / Developer / Xcode / DerivedData / Example-gdaxkniovwphxbdlndbmlfqn / Build / Products / Debug-iphoneos

/Users/'<'username'>'/Library/Developer/Xcode/DerivedData/Example-gdaxkniovwphxbdlndbmlfqn/Build/Products/Debug-iphoneos

目标的构建设置>搜索路径>框架搜索路径中也提到了此路径。 >
我删除了那些缓存的文件,并使用新的符号重新构建了Pod。花了我2天时间进行调试。

This path is also mentioned in your Target's : "Build Settings"> "Search Paths" > "Framework Search Paths".
I removed those cached files and my Pod was re-built with the new symbols. Took me 2 days to debug.