This is a follow-up to this question: possible to have a CocoaPods have a search path that includes the main app
I'd like to add add a User Header Search Path
to my .podspec so that it is added when I compile but I'm not sure how to do this so that it's effect is like this:
Add this code to your .podspec
file:
s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/.."' }
To set path recursive
:
s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/.."/**' }
I did Google and this issue on GitHub helped me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With