我更新了ionic-v1应用程序中的一个插件,该插件要求我删除并添加ios平台。完成此操作后,我开始收到3个Pod的Linker错误-以前没有的错误以及Pod在使用中。
ld: warning: directory not found for option ‘-L/Users/stibrewal/Library/Developer/Xcode/DerivedData/MyApp-cgwzxyqdyechhzaljutviiyalhso/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac’
ld: warning: directory not found for option ‘-L/Users/stibrewal/Library/Developer/Xcode/DerivedData/MyApp-cgwzxyqdyechhzaljutviiyalhso/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/Protobuf’
ld: warning: directory not found for option ‘-L/Users/stibrewal/Library/Developer/Xcode/DerivedData/MyApp-cgwzxyqdyechhzaljutviiyalhso/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/nanopb’
ld: library not found for -lGoogleToolboxForMac
我尝试过再次安装Pod。我检查了Pods目录中是否确实存在Pod。
似乎缺少一些愚蠢的/显而易见的东西,但不知道该怎么办才能解决此问题。
答案 0 :(得分:0)
通过将cocoapods gem的版本更新为1.6.1解决了此问题