【Swift】Cocoa Podsでインストール済みのライブラリのバージョンを確認する方法!

この記事からわかること

  • Swift/CocoaPodsインストール済みのライブラリバージョン確認方法
  • outdatedコマンド使い方

index

[open]

\ アプリをリリースしました /

みんなの誕生日

友達や家族の誕生日をメモ!通知も届く-みんなの誕生日-

posted withアプリーチ

環境

CocoaPodsでインストール済みのライブラリのバージョンを確認する方法

Cocoa PodsでSwiftのプロジェクトにインストール済みで現在使用しているライブラリのバージョンを確認するにはoutdatedコマンドを使用します。

$ pod outdated

実行結果

Updating spec repo `trunk`
Analyzing dependencies
The color indicates what happens when you run `pod update`
<green>	 - Will be updated to the newest version
<blue>	 - Will be updated, but not to the newest version because of specified version in Podfile
<red>	 - Will not be updated because of specified version in Podfile

The following pod updates are available:
- FirebaseAnalytics 10.14.0 -> 10.21.0 (latest version 10.21.0)
- FirebaseCore 10.14.0 -> 10.21.0 (latest version 10.21.0)
- FirebaseCoreInternal 10.14.0 -> 10.21.0 (latest version 10.21.0)
- FirebaseInstallations 10.14.0 -> 10.21.0 (latest version 10.21.0)
- Google-Mobile-Ads-SDK 10.10.0 -> 11.0.1 (latest version 11.0.1)
- GoogleAppMeasurement 10.14.0 -> 10.21.0 (latest version 10.21.0)
- GoogleUtilities 7.11.5 -> (unused) (latest version 7.12.0)
- nanopb 2.30909.0 -> 2.30909.1 (latest version 2.30909.1)

outdatedコマンドとは?

pod outdatedコマンドはプロジェクトにインストール済みのライブラリの最新バージョンを確認するコマンドです。表示される情報には現在インストールされているバージョンもあるので一括で確認したい時に活用することができます。

まだまだ勉強中ですので間違っている点や至らぬ点がありましたら教えていただけると助かります。

ご覧いただきありがとうございました。

searchbox

スポンサー

ProFile

ame

趣味:読書,プログラミング学習,サイト制作,ブログ

IT嫌いを克服するためにITパスを取得しようと勉強してからサイト制作が趣味に変わりました笑
今はCMSを使わずこのサイトを完全自作でサイト運営中〜

New Article

index