【问题标题】:GooglePlus framwork(objc-c) files in a Swift frameworkSwift 框架中的 GooglePlus 框架(objc-c)文件
【发布时间】:2015-07-13 09:16:41
【问题描述】:

我想在我的 swift 框架中包含 GooglePlus 框架,但由于我无法包含桥接头,所以我对如何在我的框架目标中包含这个框架有点无能为力

【问题讨论】:

    标签: objective-c swift frameworks google-plus target


    【解决方案1】:

    看来 module.map 是我目前发现的唯一可行的解​​决方案。

    module GooglePlus [system] {
        header "src/Google/headers/GooglePlus.h"
        export *
    }
    
    module GoogleOpenSource [system] {
        header "src/Google/headers/GoogleOpenSource.h"
        export *
    }
    

    【讨论】:

      猜你喜欢
      • 2014-11-04
      • 2019-10-02
      • 2017-01-27
      • 2020-09-14
      • 1970-01-01
      • 2017-10-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多