模块文件的部署目标是带有Xcode 7/Swift 2的ios9.0 v9.0 [英] Module file's deployment target is ios9.0 v9.0 with Xcode 7 / Swift 2

查看:98
本文介绍了模块文件的部署目标是带有Xcode 7/Swift 2的ios9.0 v9.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,该项目使用了一些通过cocoapods安装的模块.其中之一是图表.为了将我的项目从Swift 1.2迁移到Swift 2,我使用了首次使用Xcode 7打开项目时出现的向导.Charts模块已可用于Swift 2,并且我将Podfile更改为包含以下内容为了升级到此较新但尚未正式发布的版本:

I have a project using some modules that I have installed via cocoapods. One of them is Charts. In order to migrate my project from Swift 1.2 to Swift 2 I have gone through the wizard that comes up when first opening the project with Xcode 7. The Charts module is already available for Swift 2, and I have changed my Podfile to contain the following in order to upgrade to this newer and not yet officially released version:

pod 'Charts', :git => 'https://github.com/danielgindi/ios-charts.git'

现在,项目工作区在Xcode中可以正常打开,除了一条错误消息,我无法摆脱自己,并且我在网络上找不到任何有用的信息:

Now the project workspace opens fine in Xcode except one error message that I can't get rid of myself, and I cannot find any helpful informations in the web:

在我导入图表"模块的地方,上述错误消息弹出.首先,我确保将整个项目设置为部署目标IOS 9.0,就像以前的8.0一样.

At the place where I import my "Charts" module the above mentioned error message pops up. First, I made sure the whole project is set to deployment target IOS 9.0 as it was 8.0 before.

因为这不能解决问题,所以我完成了产品->清理,产品->清理生成文件夹,最后删除了派生数据"文件夹的内容.完成所有这些步骤后,我还重新启动了Xcode,但错误仍然出现.

As this didn't solve the issue, I have done Product -> Clean, Product -> Clean Build Folder and finally deleted the "Derived Data" folder's contents. I also have re-started Xcode after all these steps but the error still appears.

有人知道我可能错过了什么吗?非常感谢你!

Does anybody have a clue what I could have missed? Thank you very much!

推荐答案

以我的情况相同

已选择TARGETS

然后转到"Build Settings"

search bar

将其从iOS 8.2更改为9.0-全部

Changed it from iOS 8.2 to 9.0 - in all

这篇关于模块文件的部署目标是带有Xcode 7/Swift 2的ios9.0 v9.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆