Use `pod_target_xcconfig` instead of `xcconfig`, to avoid override the user integrate project

This commit is contained in:
DreamPiggy 2019-06-11 13:36:15 +08:00
parent 243ef8b856
commit 32e2e9019c
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.xcconfig = {
s.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/'
}
s.preserve_path = 'src'