The CocoaPods project is always built with the Release configuration and directly under build directory.
Same as when CocoaPods integrates itself into an Xcode project. The build output dir is the same as for the app. Also the Pods are built with the current build configuration.
This is required to integrate the two helper shell scripts that will copy resources and embed frameworks into the app's Xcode project.