【问题标题】:Swift Compiler error: During the test the app in the iphone deviceSwift 编译器错误:在 iphone 设备中测试应用程序期间
【发布时间】:2015-04-28 12:23:04
【问题描述】:

我想在 iPhone 设备上测试我的项目,但是当我将设备连接到系统并运行应用程序时出现错误。错误类似于 Swift 编译器错误:

cannot underlie module for 'CoreGraphics'
  • 我正在使用 Xcode 6.1.1 和 swift 语言开发应用程序。
  • 我已经在 info 中提供了相同的 Bundle 标识符。列出并在需要的地方。
  • 当我想从 Project Navigator 中的 Link frameworks and library 选项添加 CoreGraphics 框架时,列表中不会显示此框架。

我不知道我要去哪里..

【问题讨论】:

  • 你试过导入CoreGraphics吗?
  • 是的,先生..但是在 AppDelegate.swift 和 ViewController.swift 类中使用 import CoreGraphics 后会出现同样的错误..
  • 谁能帮帮我..plz..plz..

标签: swift compiler-errors frameworks ios8.1


【解决方案1】:

不幸的是,UIKIt 和 CoreGraphics 等框架有时会删除 Xcode。 所以我确实重新安装了 Xcode 6.1.1 然后这些错误被修复了......

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-02-06
    • 1970-01-01
    • 2015-09-18
    • 1970-01-01
    • 1970-01-01
    • 2012-05-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多