Closed funfake closed 1 year ago
Hi @funfake I'm sorry you're having trouble - can you try the following steps? It seems like your directory got created, correct?
cd OMNx
npx pod-install
Does that pod install get completed?
Hi! Thanks for your help. I installed expo which was missing in the ignite doctor. Sadly I get the same error. The directory got created but I don't think the dependency install went through. Does that mean that everything will work even with those errors ? I ran your command with the following outputs :
Need to install the following packages: pod-install Ok to proceed? (y) y Scanning for pods... 1.11.3
pod install Using Expo modules Auto-generating
.xcode.env.local
with $NODE_BINARY=/Users/william/.nvm/versions/node/v16.13.1/bin/node Auto-linking React Native modules for targetHelloWorld
: RNBootSplash, RNCAsyncStorage, RNGestureHandler, RNReanimated, RNScreens, and react-native-safe-area-context [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json Pull request detected: null fatal: not a git repository (or any of the parent directories): .git Analyzing dependencies Fetching podspec forDoubleConversion
from../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
[Codegen] Found FBReactNativeSpec Fetching podspec forRCT-Folly
from../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
Fetching podspec forboost
from../node_modules/react-native/third-party-podspecs/boost.podspec
Fetching podspec forglog
from../node_modules/react-native/third-party-podspecs/glog.podspec
Fetching podspec forhermes-engine
from../node_modules/react-native/sdks/hermes/hermes-engine.podspec
[!] CocoaPods could not find compatible versions for pod "hermes-engine": In snapshot (Podfile.lock): hermes-engine (from../node_modules/react-native/sdks/hermes/hermes-engine.podspec
)
In Podfile:
hermes-engine (from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec
)
It seems like you've changed the version of the dependency hermes-engine
and it differs from the version stored in Pods/Local Podspecs
.
You should run pod update hermes-engine --no-repo-update
to apply changes made locally.
Couldn't install: hermes-engine. Updating the Pods project and trying again...
pod update hermes-engine --no-repo-update Using Expo modules Auto-linking React Native modules for target
HelloWorld
: RNBootSplash, RNCAsyncStorage, RNGestureHandler, RNReanimated, RNScreens, and react-native-safe-area-context [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json Pull request detected: null fatal: not a git repository (or any of the parent directories): .git Analyzing dependencies Fetching podspec forDoubleConversion
from../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
[Codegen] Found FBReactNativeSpec Fetching podspec forRCT-Folly
from../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
Fetching podspec forboost
from../node_modules/react-native/third-party-podspecs/boost.podspec
Fetching podspec forglog
from../node_modules/react-native/third-party-podspecs/glog.podspec
Fetching podspec forhermes-engine
from../node_modules/react-native/sdks/hermes/hermes-engine.podspec
Downloading dependencies Installing CocoaAsyncSocket (7.6.5) Installing DoubleConversion (1.1.6) Installing EXApplication (4.2.2) Installing EXConstants (13.2.4) Installing EXDevice (4.3.0) Installing EXFileSystem (14.1.0) Installing EXFont (10.2.1) Installing EXSplashScreen (0.16.2) Installing Expo (46.0.17) Installing ExpoKeepAwake (10.2.1) Installing ExpoLocalization (13.1.0) Installing ExpoModulesCore (0.11.9) Installing FBLazyVector (0.69.7) Installing FBReactNativeSpec (0.69.7) Installing Flipper (0.157.0) Installing Flipper-Boost-iOSX (1.76.0.1.11) Installing Flipper-DoubleConversion (3.2.0.1) Installing Flipper-Fmt (7.1.7) Installing Flipper-Folly (2.6.10) Installing Flipper-Glog (0.5.0.5) Installing Flipper-PeerTalk (0.0.4) Installing Flipper-RSocket (1.4.3) Installing FlipperKit (0.157.0) Installing OpenSSL-Universal (1.1.1100) Installing RCT-Folly (2021.06.28.00-v2) Installing RCTRequired (0.69.7) Installing RCTTypeSafety (0.69.7) Installing RNBootSplash (4.3.2) Installing RNCAsyncStorage (1.17.11) Installing RNGestureHandler (2.5.0) Installing RNReanimated (2.9.1) Installing RNScreens (3.15.0) Installing React (0.69.7) Installing React-Codegen (0.69.7) Installing React-Core (0.69.7) Installing React-CoreModules (0.69.7) Installing React-RCTActionSheet (0.69.7) Installing React-RCTAnimation (0.69.7) Installing React-RCTBlob (0.69.7) Installing React-RCTImage (0.69.7) Installing React-RCTLinking (0.69.7) Installing React-RCTNetwork (0.69.7) Installing React-RCTSettings (0.69.7) Installing React-RCTText (0.69.7) Installing React-RCTVibration (0.69.7) Installing React-bridging (0.69.7) Installing React-callinvoker (0.69.7) Installing React-cxxreact (0.69.7) Installing React-hermes (0.69.7) Installing React-jsi (0.69.7) Installing React-jsiexecutor (0.69.7) Installing React-jsinspector (0.69.7) Installing React-logger (0.69.7) Installing React-perflogger (0.69.7) Installing React-runtimeexecutor (0.69.7) Installing ReactCommon (0.69.7) Installing SocketRocket (0.6.0) Installing Yoga (1.14.0) Installing YogaKit (1.18.1) Installing boost (1.76.0) Installing fmt (6.2.1) Installing glog (0.3.5) Installing hermes-engine (0.69.7) Installing libevent (2.1.12) Installing react-native-safe-area-context (4.3.4) Generating Pods project /Users/william/Dev/OMNx/ios/Pods/Target Support Files/Pods-HelloWorld/Pods-HelloWorld.release.xcconfig /Users/william/Dev/OMNx/ios/Pods/Target Support Files/Pods-HelloWorld/Pods-HelloWorld.debug.xcconfig /Users/william/Dev/OMNx/ios/Pods/Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.release.xcconfig /Users/william/Dev/OMNx/ios/Pods/Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.debug.xcconfig Setting REACT_NATIVE build settings Integrating client project Patching imports for file: /Users/william/Dev/OMNx/node_modules/react-native-gesture-handler/ios/RNGestureHandlerManager.mm expo_patch_react_imports! took 0.241 seconds to transform files. Pod installation complete! There are 75 dependencies from the Podfile and 65 total pods installed.
- Use the
$(inherited)
flag, or- Remove the build settings from the target.
- Use the
$(inherited)
flag, or- Remove the build settings from the target.
It seems to have failed at some point but retried and got through.
@funfake yeah the Podfile.lock file should be fixed now - I was able to reproduce over here as well. I just opened a PR to fix this issue, but in the mean time you can get going now.
You should be able to yarn
from the project directory and see that things go through correctly now (although dependencies should be installed, the snag you hit comes after installation).
However, keep in mind that your git repo might not have been started yet since installation cut out early. I can't tell if you were doing this by the general command you posted.
Hope that helps and keep an eye on #2302 where this gets fixed entirely. Sorry about that
I'm glad you were able to reproduce the issue on your side. I was afraid my install had a problem. The project starts with expo meaning that I can enjoy your excellent hello world app so that's cool. I will take care of the git manually. I will keep an eye on #2303 and see how it goes.
Thanks again for your help. It’s a pleasure to have been helped by you. Should I close this issue now ?
No problem glad you got it resolved, you can leave it open - it'll get closed when we push the fix. Thank you!
:tada: This issue has been resolved in version 8.3.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
fnm default 16 npx ignite-cli@latest new MyApp --yes
Command failed: .../node_modules/expo-detox-hook/scripts/build_framework.ios.sh
npm uninstall -g ignite-cli sudo xcode-select --install sudo xcode-select -s /Applications/Xcode.app/Contents/Developer command rm -rf MyApp npx ignite-cli@latest new MyApp --debug --yes
Command failed: .../node_modules/expo-detox-hook/scripts/build_framework.ios.sh
cd MyApp/ npx pod-install yarn
Command failed: .../node_modules/expo-detox-hook/scripts/build_framework.ios.sh
🤷🏽♂️
@ThomasGHenry Open XCode and install will work.
Describe the bug
Hi! I'g going through an issue with my Ignite app creation during dependencies install. It gives me that error that I can't overcome. I've looked everywhere online, reinstalled cocoapods, reinstalling the cli, switched from yarn to npm. Nothing changes. Thanks a lot for your help !
Error
Steps to reproduce
ignite-cli new OMNx
ornpx ignite-cli@latest new OMNx
(same results)Ignite version
8.3.1
Additional info