user1256276
user1256276

Reputation: 143

XCODE : Pod Update

I am using reachability, SwiftJSON, crashlytics pod files in my projects which is baselined to iOS9. currently I’m XCODE 7 to run my project. now i need to migrate my code to swift 3.0. My question is how to update the pod files. Currently the versions of pod file is 2.3. How can i migrate it to 3.0.

Upvotes: 5

Views: 15802

Answers (2)

zero3nna
zero3nna

Reputation: 2918

If you haven't updated cocoapod itself, I recommend you to do a gem install cocoapods to get the latest version, working with Xcode 8.x

If your pods are not tagged with any version restriction like pod 'ReachabilitySwift', '~> 2' you just need to run pod update, otherwise you need to check yourself first which version you need/want for swift 3.

Upvotes: 6

ankit
ankit

Reputation: 3647

For pod update : type pod update in terminal For migration of your project, open it up in Xcode 8+ and there will an option of automatic conversion. Check this one out if issues arises.

NOTE: Keep backup of your old project somewhere.

Upvotes: 2

Related Questions