简体   繁体   English

Xcode-无法编译添加的框架

[英]Xcode - Can't compile added framework

I'm trying to use the ReactiveCocoa framework, So i followed the instructions written about how to ebbed the framework to my project. 我正在尝试使用ReactiveCocoa框架,因此我遵循了有关如何使框架退潮到项目中的说明。

My Project is written in Objective-C but the added framework is written in Swift . 我的项目是用Objective-C编写的,但是添加的框架是用Swift编写的。

After following all the mentioned steps i get many different (seems to be swift related error from an additional framework that i was asked to add called Result.framework ) 完成所有上述步骤后,我得到了许多不同的结果(似乎是我被要求添加一个名为Result.framework的附加框架带来的与快速相关的错误)

And nothing compiles anymore of course. 当然,没有任何东西可以编译了。

Here are some errors printed in Xcode : 这是Xcode中显示的一些错误:

在此处输入图片说明

As i said, I followed all the instructions provided, all seem to work well. 正如我所说,我按照提供的所有说明进行了操作 ,似乎一切正常。

Help anyone? 帮助任何人?

It looks like Swift code you are trying to integrate was written using outdated syntax. 您要集成的Swift代码似乎是使用过时的语法编写的。 Please see https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc6_release_notes.html . 请参阅https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Chapters/xc6_release_notes.html Look for a more recent version of the code. 寻找该代码的最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM