1
我是iOS新手,我面臨着Google地圖的問題。我正在使用Pod。<GoogleMaps/GoogleMaps.h>目標C中找不到文件
source 'https://github.com/CocoaPods/Specs.git'
target 'EmployeeConnectOCS' do
pod 'GoogleMaps'
pod 'GooglePlacePicker'
pod 'GooglePlaces'
end
它也安裝成功。我的項目工作正常,但現在它顯示:
<GoogleMaps/GoogleMaps.h> file not found
我試過在互聯網上的東西,但沒有什麼可以幫助我。 Google框架文件已經存在於項目中,但它顯示錯誤,我不理解這個問題。
它在項目中存在的圖像:
而我的其他鏈接標誌的文件是
顯示這樣
[!] 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.
評論是不適合擴展討論;此對話已被[轉移到聊天](http://chat.stackoverflow.com/rooms/136689/discussion-on-question-by-muju-googlemaps-googlemaps-h-file-not-found-in-objec) 。 –