[英]Can not compile when using the SwiftyJSON in iOS
I would like to add SwiftyJSON to my app. 我想将SwiftyJSON添加到我的应用程序。
I install it using the terminal and create a Podfile in the same folder. 我使用终端安装它,并在同一文件夹中创建一个Podfile。
I follow all the steps on SwiftyJSON on github . 我遵循github上SwiftyJSON上的所有步骤。 When I compile the xcode, it turns out the error:
当我编译xcode时,发现错误:
It seems that I did not have a module called SwiftyJSON.modulemap
. 看来我没有一个名为
SwiftyJSON.modulemap
的模块。
What's wrong with that? 怎么了
If you are working in swift 2.3 the pod is: 如果您使用的是Swift 2.3,则窗格为:
pod 'SwiftyJSON', '~> 2.4' pod'SwiftyJSON','〜> 2.4'
This is the pod that working properly. 这是可以正常工作的吊舱。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.