zoukankan      html  css  js  c++  java
  • pod出现include of non-modular header inside framework module 错误

     今天打包pod 的时候 出现的错误

     

     -> AFNetworking+RX (3.1.0.18)

        - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.

        - ERROR | xcodebuild:  /Users/ceshi/Library/Developer/Xcode/DerivedData/App-dcmqgoyhfqucabaynpwawmnoksav/Build/Products/Release-iphonesimulator/AFNetworking+RX/AFNetworking_RX.framework/Headers/RXNetworkingConfigManager.h:10:9: error: include of non-modular header inside framework module 'AFNetworking_RX.RXNetworkingConfigManager' [-Werror,-Wnon-modular-include-in-framework-module]

        - ERROR | [iOS] xcodebuild:  /Users/ceshi/Library/Developer/Xcode/DerivedData/App-dcmqgoyhfqucabaynpwawmnoksav/Build/Products/Release-iphonesimulator/AFNetworking+RX/AFNetworking_RX.framework/Headers/RXSimpleHttpManager.h:10:9: error: include of non-modular header inside framework module 'AFNetworking_RX.RXSimpleHttpManager' [-Werror,-Wnon-modular-include-in-framework-module]

        - ERROR | [iOS] xcodebuild:  /Users/ceshi/Library/Developer/Xcode/DerivedData/App-dcmqgoyhfqucabaynpwawmnoksav/Build/Products/Release-iphonesimulator/AFNetworking+RX/AFNetworking_RX.framework/Headers/RXBaseRequest.h:10:9: error: include of non-modular header inside framework module 'AFNetworking_RX.RXBaseRequest' [-Werror,-Wnon-modular-include-in-framework-module]

        - NOTE  | [iOS] xcodebuild:  /var/folders/wg/p99zb3dx64q5gcg2zdjwxcgw0000gp/T/CocoaPods/Lint/App/main.m:3:9: fatal error: could not build module 'AFNetworking_RX'

    解决方法是:

    pod trunk push --verbose --allow-warnings --use-libraries

  • 相关阅读:
    复盘:错误理解zuul路径匹配,无法使用zuul
    oracle 查询含clob 字段慢
    Javascript生成二维码(QR)
    那些可以在数据库里做的事:分页与过滤
    小谈Scrum敏捷开发流程
    45个实用的JavaScript技巧、窍门和最佳实践
    编写更好的jQuery代码的建议
    冷门JS技巧
    jQuery编程的最佳实践
    chrome扩展安装图文教程
  • 原文地址:https://www.cnblogs.com/xzjxylophone/p/6379278.html
Copyright © 2011-2022 走看看