I am trying to remove these warnings that appear 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 settings of the target assembly, 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.
Of course, when I look at Pods/Target Support Files/Pods-AppName/Pods-AppName.release.xcconfig , ALWAYS_SEARCH_USER_PATHS = YES is, and I'm not sure how it got there or where this file came from.
Does anyone know how to get rid of these errors? Thanks.
ios xcode xcode8 cocoapods
Lee kang
source share