same issue for me with failing build dev at the end
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/alain/Library/Developer/Xcode/DerivedData/myapp-dmqhqctigrrkbzgcowixlemcuyvh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E0002CB20.sh (in target 'FBReactNativeSpec' from project 'Pods'
stuck here since two days :(