Repository: react-native
Issue: PhaseScriptExecution [CP-User]\ Generate\ Specs
Labels: Needs: Triage :mag:

### Description

Hello, guys. I am currently having a problem running my app build on iOS. I've followed a few tutorials here on git about but none of them were effective. Every time I try to install the pods along the way: 

`cd ios > pod deintegrate && pod install --repo-update `

There is an installation of only 87 of 89 pods, missing ExpoModulesCore and FBReactNativeSpec, the pod installation log will follow below.

After installing the pods and I try to run the command:

`yarn run:ios:staging `(project specific but would be the same as npx react-native run-ios), it returns the following error:

Build error:

`objc[24913]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1edc1bb78) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1181302c8). One of the two will be used. Which one is undefined.
objc[24913]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1edc1bbc8) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x118130318). One of the two will be used. Which one is undefined.
** BUILD FAILED **


The following build commands failed:
        PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/viniciusachterberg/Library/Developer/Xcode/DerivedData/AgrinessPresence-aatyymmaxydmoqfhtgtytzoqepin/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-48ABC94909B35DCD398CB750635A0D8D.sh
(1 failure)`

Pod install log: 
**⚠️  Cannot resolve the path to "@babel/plugin-syntax-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "@babel/preset-flow" package.
⚠️  Cannot resolve the path to "@babel/preset-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "babel-core" package.
Using Expo modules
Auto-linking React Native modules for target `AgrinessPresence`: BVLinearGradient, CodePush, RNCAsyncStorage, RNCCheckbox, RNCMaskedView, RNCPicker, RNDateTimePicker, RNFS, RNFileViewer, RNGestureHandler, RNImageCropPicker, RNReanimated, RNSVG, RNScreens, RNSentry, RNShare, RNVectorIcons, react-native-config, react-native-flipper, react-native-geolocation-service, react-native-get-random-values, react-native-netinfo, react-native-safe-area-context, and rn-fetch-blob
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing Amplitude (6.0.0)
Installing BVLinearGradient (2.5.6)
Installing Base64 (1.1.2)
Installing CocoaAsyncSocket (7.6.5)
Installing CodePush (7.0.1)
Installing DoubleConversion (1.1.6)
Installing EXAmplitude (11.1.1)
Installing EXApplication (4.0.2)
Installing EXBarCodeScanner (11.2.1)
Installing EXConstants (13.0.2)
Installing EXFileSystem (13.1.4)
Installing EXFont (10.0.5)
Installing EXImageLoader (3.1.1)
Installing EXImagePicker (12.0.2)
Installing EXKeepAwake (10.0.2)
Installing EXMediaLibrary (14.0.1)
Installing EXNotifications (0.14.1)
Installing EXSharing (10.1.1)
Installing Expo (44.0.6)
Installing ExpoLinearGradient (11.0.3)
Installing ExpoModulesCore (0.6.5)
Installing FBLazyVector (0.64.3)
Installing FBReactNativeSpec (0.64.3)
Installing Flipper (0.75.1)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.5.3)
Installing Flipper-Glog (0.3.6)
Installing Flipper-PeerTalk (0.0.4)
Installing Flipper-RSocket (1.3.1)
Installing FlipperKit (0.75.1)
Installing JWT (3.0.0-beta.14)
Installing OpenSSL-Universal (1.1.180)
Installing RCT-Folly (2020.01.13.00)
Installing RCTRequired (0.64.3)
Installing RCTTypeSafety (0.64.3)
Installing RNCAsyncStorage (1.15.17)
Installing RNCCheckbox (0.5.8)
Installing RNCMaskedView (0.1.10)
Installing RNCPicker (1.16.8)
Installing RNDateTimePicker (3.0.4)
Installing RNFS (2.18.0)
Installing RNFileViewer (2.1.4)
Installing RNGestureHandler (1.8.0)
Installing RNImageCropPicker (0.35.1)
Installing RNReanimated (1.13.1)
Installing RNSVG (12.1.0)
Installing RNScreens (2.11.0)
Installing RNSentry (2.6.0)
Installing RNShare (7.2.1)
Installing RNVectorIcons (8.1.0)
Installing React (0.64.3)
Installing React-Core (0.64.3)
Installing React-CoreModules (0.64.3)
Installing React-RCTActionSheet (0.64.3)
Installing React-RCTAnimation (0.64.3)
Installing React-RCTBlob (0.64.3)
Installing React-RCTImage (0.64.3)
Installing React-RCTLinking (0.64.3)
Installing React-RCTNetwork (0.64.3)
Installing React-RCTSettings (0.64.3)
Installing React-RCTText (0.64.3)
Installing React-RCTVibration (0.64.3)
Installing React-callinvoker (0.64.3)
Installing React-cxxreact (0.64.3)
Installing React-jsi (0.64.3)
Installing React-jsiexecutor (0.64.3)
Installing React-jsinspector (0.64.3)
Installing React-perflogger (0.64.3)
Installing React-runtimeexecutor (0.64.3)
Installing ReactCommon (0.64.3)
Installing SSZipArchive (2.2.3)
Installing Sentry (7.0.0)
Installing TOCropViewController (2.6.1)
Installing UMTaskManagerInterface (7.1.1)
Installing Yoga (1.14.0)
Installing YogaKit (1.18.1)
Installing ZXingObjC (3.6.5)
Installing boost-for-react-native (1.63.0)
Installing glog (0.3.5)
Installing libevent (2.1.12)
Installing react-native-config (1.4.3)
Installing react-native-flipper (0.104.0)
Installing react-native-geolocation-service (5.3.0-beta.3)
Installing react-native-get-random-values (1.5.0)
Installing react-native-netinfo (5.9.7)
Installing react-native-safe-area-context (3.2.0)
Installing rn-fetch-blob (0.12.0)
Generating Pods project
Integrating client project
⚠️  Cannot resolve the path to "@babel/plugin-syntax-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "@babel/preset-flow" package.
⚠️  Cannot resolve the path to "@babel/preset-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "babel-core" package.
⚠️  Cannot resolve the path to "@babel/plugin-syntax-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "@babel/preset-flow" package.
⚠️  Cannot resolve the path to "@babel/preset-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "babel-core" package.
⚠️  Cannot resolve the path to "@babel/plugin-syntax-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "@babel/preset-flow" package.
⚠️  Cannot resolve the path to "@babel/preset-typescript" package.
⚠️  Cannot resolve the path to "@babel/register" package.
⚠️  Cannot resolve the path to "babel-core" package.
expo_patch_react_imports! took 0.1672 seconds to transform files.
Pod installation complete! There are 89 dependencies from the Podfile and 87 total pods installed.**

If I create a new project and run the default commands to start my project, everything works on.



### Version

0.64.0

### Output of `npx react-native info`

System:
    OS: macOS 11.6
    CPU: (8) arm64 Apple M1
    Memory: 149.36 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.20.0 - /opt/homebrew/opt/node@14/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 6.14.17 - /opt/homebrew/opt/node@14/bin/npm
    Watchman: 2022.07.04.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 30
      System Images: android-30 | Google Play ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /Users/viniciusachterberg/.jenv/shims/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1 
    react-native: 0.64.3 => 0.64.3 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

### Steps to reproduce

.

### Snack, code example, screenshot, or link to a repository

.