2016-06-17 7 views
1

私はFirebaseのインストールのこのステップを自分のiOSアプリに実際に詰め込んでいます。 Firebase installation to Xcode何度も試してみましたが、最終的に私のプロジェクトにいくつかの 'podファイル'をインストールすることができました。私はimport Firebaseを追加するときには、「Firebase」Firebaseポッドのインストールエラー

のようにそのようなモジュールを示していないエラーが誰もが私の既存のiOSプロジェクトにfirebaseポッドをインストールする方法を教えてもらえますか?また、私はそれにインストールしたポッドをクリアする方法。私はSWIFT 2.2使用しています

、SCODE 7.3およびMac OS XのEI

私のポッドコンテンツがある

# Uncomment this line to define a global platform for your project 
platform :ios, '9.0' 

target ‘APPNAME’ do 
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    # Pods for APPNAME 

    target 'APPNAME Tests' do 
    inherit! :search_paths 
    # Pods for testing 
    end 

    target 'APPNAME UITests' do 
    inherit! :search_paths 
    # Pods for testing 
    end 

end 

マイエラー: image of my error

+0

あなたのポッドファイルのコンテンツ? – Shubhank

+0

'#この行のコメントを解除して、プロジェクトのグローバルプラットフォームを定義します プラットフォーム:ios、 '9.0' ターゲット 'APPNAME' do #Swiftを使用していない場合はこの行をコメントしてください。 use_frameworks! #APPNAMEのポッド ターゲット 'APPNAMEテスト' do は継承します。 :search_paths #テスト用ポッド end ターゲット 'APPNAME UITests' do inherit! :search_paths #テスト用ポッド end end' –

+0

あなたの質問を更新して、適切なインデントを使用して – Shubhank

答えて

1

があなたのポッドファイルに次の行を追加

# Uncomment this line to define a global platform for your project 
platform :ios, '9.0' 

target ‘APPNAME’ do 
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 
pod 'Firebase', '>= 2.5.1' 
    # Pods for APPNAME 

    target 'APPNAME Tests' do 
    inherit! :search_paths 
    # Pods for testing 
    end 

    target 'APPNAME UITests' do 
    inherit! :search_paths 
    # Pods for testing 
    end 

end 

以降、このアップデートポッド

+0

更新の手段は?ビルドして実行しますか? –

+1

端末に書き込むことはできません$ pod install –

+0

https://www.firebase.com/docs/ios/guide/setup.html –

関連する問題