Xcode found bundle with the same identifier using cocoapods frameworks
Finally the error was the PRODUCT_BUNDLE_IDENTIFIER field in the info.plist of each pod. Changing it to "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}" solved the problem (previously was "$(PRODUCT_BUNDLE_IDENTIFIER)").