Expoのbuildでpodまわりのエラーが出た時の解決方法

[!] [Codegen] warn: using experimental new codegen integration
[!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `2B44E6824E3946258D4E945B` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.
[!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.

↑のようなエラーが出た時、
大体は依存関係の問題なので、

npx expo install --check

↑のコマンドで依存関係を解決、ライブラリを更新して、
再度ビルドを実行したら解決します