New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhaseScriptExecution [CP-User]\ Generate\ Specs #34269
Comments
Same here! |
I'm facing same issue . Output of npx react-native infoSystem: |
Any solutions yet? |
i was able to solve by running StackOverflow - https://stackoverflow.com/a/74007424/15266718 |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Any working Solution on this ??? |
did you found a solution bro ? |
+1 |
I was able to solve this by deleting the .nvm folder because I don't need it in my project. If you still need nvm, try running this to check the version of nvm Note: Sometimes switching to older or newer versions might work for your project Here's a reference on how to use nvm 🚀 |
@CyborgCodes nvm folder inside a react-native project ?, am lost isnt that seating in system file ? |
Yes in the system file, sorry for the confusion. |
I dont use nvm on my mac, but i still get the issue. works fine starting android , just ios i think it got to do with cocoapods installation, Will keep searching for a fix, |
Hi, for me what it works was to review that my workspace folder don't have special characters or empty spaces, npx react-native don't like that |
I was using nodenv, so I uninstall it. And install node via HomeBrew. That changes an error, and it works. |
I'm facing the same issue I have tried to remove nvm but still I'm not able to build |
Me to, not working in even after removing nvm and delete all folders |
Make sure to not have any spaces in the directory name.. it worked for me |
For me it worked with brew uninstall nvm |
I removed spaces and special characters from the path of my RN project. After that, I succeeded in running the iOS app. Good luck! |
I was getting the same error and the solution was to replace
with
after which the errors magically disappeared. |
I'm using nvm and I had this issue in two of my projects. For both the issue went away after I changed the Node binary to the absolute path: export NODE_BINARY=/Users/MyUser/.nvm/versions/node/v18.15.0/bin/node I'm using node 18.15.0, you'll have separate folders for all other node versions you have installed through nvm. |
@wojtekmaj you saved my day🥹 |
I almost gave up react native and went to flutter because of this issue lol. |
bro did you find any working solution? |
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.
⚠️ 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.
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-blobUpdating 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
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
.
The text was updated successfully, but these errors were encountered: