pod使用问题

安装完pod后,终端弹出如下⚠️

[!] The `BastionPay [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-BastionPay/Pods-BastionPay.release.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.


不能不管哟,这告诉你在Target中未设置正确,需要在Other Linker这个条目中加入$(inherited)


解决上面问题后,编译报Unable to resolve build file


由于工程里有其他子工程,自工程对应路径丢失造成,重新将子工程对应的.xcodeproj拖入


报头文件未找到错误

在Build Settings/Header Search Paths中加入 $(SRCROOT)



嵌入腾讯云通信TUIKit时,遇见Include of non-modular header inside frame...问题

网上找了一堆这个报错解决方法,给出的方法无非两种,  在buildsetting里面设置,头文件不要放在.h文件声明。  

这些都无法解决我项目中遇到的问题,搞的工程增了又删,删了有增,变了3种工程结构模式,都未能如愿


pod使用问题_第1张图片
到处报错

苦恼风飘过。。。。

最终解决方法,Podfile文件出错,多了行恶心代码


pod使用问题_第2张图片
请注意第三行代码,已经注释,问题解决

你可能感兴趣的:(pod使用问题)