未找到框架 RealmSwift [英] framework not found RealmSwift

查看:66
本文介绍了未找到框架 RealmSwift的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在安装 Realm 并导入到我的项目中,但是当我运行该应用程序时,它显示了一个错误:

I was installing Realm and imported to my project but when I run the app it shows me an error:

ld:未找到框架 RealmSwift
clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)

ld: framework not found RealmSwift
clang: error: linker command failed with exit code 1 (use -v to see invocation)

推荐答案

就我而言,我已通过此命令将 Cocopods 更新到最新版本 (1.1.0) sudo gem install cocoapods

In my case, I've updated the Cocopods to the latest version (1.1.0) via this command sudo gem install cocoapods

这篇关于未找到框架 RealmSwift的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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