You need to include the xcconfig files generated by Cocoapods at the beginning of the newly created xcconfig files.
For example: if you have two configurations: debug and release, then in your debug.xcconfig file you should insert
#include “Pods/Target Support Files/Pods-YourProjectName/Pods-YourProjectName.debug.xcconfig”
at the beginning of the file.
I hope it helps.