開始是把極光推送的sdk直接拉到項目里,后來用cococapods到工程里,運行的時候報錯,并且終端報以下報錯,
[!] The `easyhospital [Debug]` target overrides the `LIBRARY_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `easyhospital [Debug]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `easyhospital [Release]` target overrides the `LIBRARY_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `easyhospital [Release]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
解決方法:把報錯的LIBRARY_SEARCH_PATHS、HEADER_SEARCH_PATHS原先的極光路徑刪除,并添加$(inherited)就可以了