I'm trying to remove these warnings that show up in xcode(8.3):
warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'.
When I change 'ALWAYS_SEARCH_USER_PATHS'
to NO
in the Target's Build Settings, the warnings disappear. But then I get additional warnings when I run pod install
:
[!] The `AppName [Release]` target overrides the `ALWAYS_SEARCH_USER_PATHS` build setting defined in `Pods/Target Support Files/Pods-AppName/Pods-AppName.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Sure enough, when I look in Pods/Target Support Files/Pods-AppName/Pods-AppName.release.xcconfig
, ALWAYS_SEARCH_USER_PATHS = YES
is there and I'm not sure how it got there or where that file came from.
Does anyone know how to get rid of these errors? Thanks.