使用图表框架。 Swift 2.0

Using the Charts framework. Swift 2.0

我正在尝试遵循以下教程:http://www.appcoda.com/ios-charts-api-tutorial/

我将 Charts.xcodeproj 拖到我的项目和常规部分中,'linked frameworks and libraries' 它已经添加了图表框架:

但是我收到以下错误:

说明书上说 'In the General tab on the right, locate the Embedded Binaries section and hit the + in this section to add the charts framework. Select Charts.framework from the list and click Add.' 但是我找不到 'embedded binaries' 所以我认为这是 Xcode 的早期版本,我打算看看 'linked frameworks and libraries' 然而我可能是错的!

如有任何帮助,我们将不胜感激:)

我找到了这个问题的答案。我点击了 'Charts.xcodeproj' 并试图找到 'Embedded Link'。这是错误的。

单击您的项目名称和 'deployment target' select 您的项目目标上方(带有铅笔图像)。

现在 'embedded Binaries' 选项可用: