Error: pod install exited with non-zero code: 31

Just install “react-native-google-mobile-ads”: ^12.1.0
It fails after that.

npm install react-native-google-mobile-ads
eas build -p ios --profile development --local

[!] `<PBXResourcesBuildPhase UUID=`XXXXXXX`>` attempted to initialize an object with an unknown UUID. `XXXXXXX` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[INSTALL_PODS] 
Error: pod install exited with non-zero code: 31
    at ChildProcess.completionListener (/Users/xxx/.npm/_npx/2b82872972ae1dd8/node_modules/@expo/spawn-async/build/spawnAsync.js:42:23)
    at Object.onceWrapper (node:events:627:26)
    at ChildProcess.emit (node:events:512:28)
    at maybeClose (node:internal/child_process:1098:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)