[英]No such module 'SwiftyJSON'
I have been facing this issue since days now... i have a framework in my workspace which somehow does not seem to like SwiftyJSON module and throws an error "No such module SwiftyJSON" 从现在开始我就一直面对这个问题。。。我的工作区中有一个框架,它似乎不喜欢SwiftyJSON模块,并抛出错误“没有这样的模块SwiftyJSON”
My pod file looks something like this 我的pod文件看起来像这样
platform :ios, '8.0'
use_frameworks!
target 'dummyprojectName' do
pod 'socket.IO', '~> 0.5'
pod 'SwiftyJSON', :git =>'https://github.com/SwiftyJSON/SwiftyJSON.git'
end
Hope to find some help soon :) 希望能尽快找到帮助:)
Try clearing your project (Cmd + K). 尝试清除您的项目(Cmd + K)。 Then cmd + B for build.
然后使用cmd + B进行构建。 Also make sure you use xcworkspace file (not xcodeproj).
还要确保您使用的是xcworkspace文件(不是xcodeproj)。
Try upgrading to XCode 7.3 and Swift 2.2. 尝试升级到XCode 7.3和Swift 2.2。 That might help resolve the issue.
这可能有助于解决问题。 I had a similar issue with Alamofire
我在Alamofire遇到了类似的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.