2017-02-24 21 views
1

私はiOSで新しく、Googleマップに関する問題に直面しています。私はポッドを使用しています。Objective Cで<GoogleMaps/GoogleMaps.h>ファイルが見つかりません

source 'https://github.com/CocoaPods/Specs.git' 
target 'EmployeeConnectOCS' do 
    pod 'GoogleMaps' 
    pod 'GooglePlacePicker' 
    pod 'GooglePlaces' 
end 

正常にインストールされています。私のプロジェクトはうまく働いていたが、現在はそれが表示されます。私は、インターネット上のものを試してみました

<GoogleMaps/GoogleMaps.h> file not found 

が、何も私を助けていません。 Googleのフレームワークファイルは既にプロジェクトに存在していますが、エラーが表示されていますが、私はその問題を理解していません。

それは画像のようにプロジェクトに存在する:

enter image description here

そして、私の他の連結フラグファイルは、この

のように表示

enter image description here

enter image description here

です3210

[!] The `EmployeeConnectOCS [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-EmployeeConnectOCS/Pods-EmployeeConnectOCS.debug.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

[!] The `EmployeeConnectOCS [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-EmployeeConnectOCS/Pods-EmployeeConnectOCS.release.xcconfig'. This can lead to problems with the CocoaPods installation 
    - Use the `$(inherited)` flag, or 
    - Remove the build settings from the target. 

enter image description here

+0

コメントは議論の対象外です。この会話は[チャットに移動]されています(http://chat.stackoverflow.com/rooms/136689/discussion-on-question-by-muju-googlemaps-googlemaps-h-file-not-found-in-objec) 。 –

答えて

1

あなたはPodfileでプロジェクト名を変更するには忘れ、 は、コマンドを更新するために、あなたのPodFileを更新し、変更されたPodFileした後、この

source 'https://github.com/CocoaPods/Specs.git' 
target 'EmployeeConnectOCS' do 
pod 'GoogleMaps' 
pod 'GooglePlacePicker' 
pod 'GooglePlaces' 
end 

であなたのPodFileコードを交換してください。 希望です。

+0

ProjectNameを記述してコードを追加します。 EmployeeConnectOCSはすでにそこに書き込まれています。 – Muju

関連する問題