如何更新iOS中pod文件中的魔法记录sdk [英] how to update magical record sdk in pod file in iOS

查看:104
本文介绍了如何更新iOS中pod文件中的魔法记录sdk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更新从2.2到2.3.3 sdk的魔法记录。在我的项目有pod文件..所以如何更新魔法记录sdk 2.2到魔法记录2.3.3 sdk。请指导我任何身体。我是可可豆荚和豆荚文件的新手。提前致谢。在我的pod文件中有这样的



pod'MagicalRecord','〜> 2.2'



pod'可达性','〜> 3.1.1'



pod'AFNetworking','〜> 2.2'



pod 'MBProgressHUD','〜> 0.8'



这是神奇的记录sdk 2.3.3更新链接。



编辑2: -



步骤1: - 从您的pod文件中删除pod'MagicalRecord','〜> 2.3.3'。



第2步: - pod更新(它将从你的项目中卸载魔法记录)



现在再次按照编辑1再次在你的podfile中写下pod'MagicalRecord','〜> 2.3.3'。并编写命令窗格更新。



编辑3: - 不要忘记从 .xcworkspace 文件中打开项目。





注意: - 之前先做任何事情备份你的项目。


I want to update magical record from 2.2 to 2.3.3 sdk. In my project having pod file.. so how to update magical record sdk 2.2 to magical record 2.3.3 sdk. please guide me any body.i am new to cocoa pods and pod file. Thanks in advance. in my pod file having like this

pod 'MagicalRecord', '~> 2.2'

pod 'Reachability', '~> 3.1.1'

pod 'AFNetworking', '~> 2.2'

pod 'MBProgressHUD', '~> 0.8'

This is the magical record sdk 2.3.3 updated link.
https://github.com/magicalpanda/MagicalRecord

解决方案

1) Open Terminal

2) Write CD command. and Drag and Drop folder (To get a path of your project) -> press enter

3) write command open -e podfile (to add a new version)

4) close podfile . write command in terminal pod upade

That's it.

Edit 1 :-

Edit 2 :-

Step 1 :- Remove "pod 'MagicalRecord', '~> 2.3.3’ " from your pod file.

step 2:- pod update (it will uninstall magical record from your project)

Now again follow edit 1 as write again "pod 'MagicalRecord', '~> 2.3.3’ " in your podfile. and write command pod update.

Edit 3 :- Don't forget open your project from .xcworkspace file.

Note :- Before do anything first take backup of your project.

这篇关于如何更新iOS中pod文件中的魔法记录sdk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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