Use file write instead of echo when generating the Podfile
Use file write instead of echo when generating the Podfile

On some versions of Mac, echo does not support -e, leading to malformed Podfiles. Switch to use file write instead. From testing, it only regenerates the file if the CMakeLists changes, which is desired.

PiperOrigin-RevId: 246597608

firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk,firebase/firebase-cpp-sdk