美文网首页Xcode&iOS重学iOS
pod install遇到的警告

pod install遇到的警告

作者: 聆默无语 | 来源:发表于2018-03-30 20:05 被阅读364次
    pod警告1.png
    [!] Smart quotes were detected and ignored in your Podfile. 
    To avoid issues in the future, you should not use TextEdit for editing it.
     If you are not using TextEdit, you should turn off smart quotes in your
     editor of choice.
    

    解决方案:用Xcode打开Podfile 看看里面的pod类库是不是像中文引号 编辑改下就行了 在外面打开编辑就会产生这样的问题

    pod警告2.png
    [!] The `iOSProduct [Debug]` target overrides the 
    `GCC_PRECOMPILE_PREFIX_HEADER` build setting defined in 
    `Pods/Target Support Files/Pods-iOSProduct/Pods-iOSProduct.debug.xcconfig'.
     This can lead to problems with the CocoaPods installation
        - Use the `$(inherited)` flag, or
        - Remove the build settings from the target.
    

    解决方案:在building setting中找到'(GCC_PRECOMPILE_PREFIX_HEADER)' ,然后添加上'$(inherited)'。

    相关文章

      网友评论

        本文标题:pod install遇到的警告

        本文链接:https://www.haomeiwen.com/subject/jwtwcftx.html