【问题标题】:Swift import got error "Could not build objective-C module 'Twitter'" while including a frameworkSwift 导入在包含框架时出现错误“无法构建 Objective-C 模块 'Twitter'”
【发布时间】:2016-11-24 10:16:28
【问题描述】:

我正在参加 iTunesU 课程 CS193P Lecture9。

我在尝试导入框架时收到了这个error

我已经打开了“允许框架模块中的非模块化包含” “Twitter”框架已成功构建并已添加到“SmashTag”的链接框架和库中。

navigator

有人对此有所了解吗? Xcode 8.1 和 Swift 3.0

谢谢。

【问题讨论】:

  • 你创建桥接头了吗?
  • @Tj3n,框架也很快,所以我认为不需要桥接头

标签: ios swift xcode frameworks cs193p


【解决方案1】:

您需要将代码转换为 swfit 3 并在
中重建 Twitter 框架 同一个工作区。

这里的答案描述了如何转换代码。 Smashtag (Stanford CS193p Twitter client) not loading on iPhone

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-09-03
    • 2020-12-24
    • 2017-06-29
    • 2020-01-10
    • 2011-09-07
    • 2017-06-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多