0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【iOS】FirebaseのFriendly-Chatチュートリアルの pod install でエラーが出るとき

Posted at

FirebaseのCodelabでのチュートリアル Friendly Chat で pod install でエラーが出るのは、Podfileが古いからのようだった。
https://codelabs.developers.google.com/codelabs/firebase-ios-swift/?hl=ja#2

Pod::StandardError - [Bug] Failed to find known source with the URL "trunk"

[!] Oh no, an error occurred.

一度、Podfile, Podfile.lockを削除して、そのディレクトリでpod initし、そこに元の情報を正しくコピペしてやると成功した。

スクリーンショット 2020-03-05 17.03.14.png
podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'FriendlyChatSwift' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for FriendlyChatSwift
  # FriendlyChat Codelab

pod 'Firebase/AdMob'
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'
pod 'Firebase/Crashlytics'
pod 'GoogleSignIn'


end

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?