-
Notifications
You must be signed in to change notification settings - Fork 24k
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
when i run-ios it run but then stop execution until i cross ❌ the terminal #39743
Comments
|
|
@imorakzai can you better describe what is the issue? |
Yes when I run npx react-native run-ios in terminal then it start running but when it reach to some point it stop then it doesn't show me error |
Currently having the same issue, you must kill the server with I don't have a repro yet but i will add one if i set it up
|
@imorakzai, Can you confirm if the project this error is coming from is a mono repo project or not? I have the same problem with the same error messages, but my project is a mono repo project. I have a reproduction, but I want to ensure we have similar issues before I post it here. If not, I will start a new issue based on my problem. 🙌🏼 |
If you are still having this problem and your project is based on monorepo, then you can do the steps below to solve the problem
Diffs screenshots for reference |
+1 any new |
i dont know what is mono repo |
same problem :( |
Same issue with rn template app, xcode 15& iOS 17. |
I have the same problem when I don't have any open simulators, and have an iPhone connected so it tries to open the app in the connected iPhone (xcode 15). It does work if I already have an open simulator |
Same issue as above. |
Same issue as above Started after upgrade to xCode 15 and iOS 17 |
same issue as above. |
Is this happening on a blank project for other folks? As it's unclear if this is from a monorepo setup or not. |
Same issue here. Everything was working fine before update to xcode 15 abd ios17. Monorepo setup, have been working on project for ~7months |
+1 |
@cortinico it also happens for blank project as well, i tried Everything was working fine before update to XCode 15 and iOS17 |
same issue, new project initialized with |
This issue is happening to me as well after upgrading to Xcode 15 and iOS 17 |
I just resolved this issue by disabling ENABLE_USER_SCRIPT_SANDBOXING in the build settings in Xcode 15, it is present in Xcode 14 but disabled. |
@ScribbleTons didn't helped,
|
I've had this problem for three days now :( |
any update? i still has this problem. |
Just reinstall your pods
…On Thu, May 23, 2024 at 2:14 PM 杜洁鹏 ***@***.***> wrote:
any update? i still has this problem.
—
Reply to this email directly, view it on GitHub
<#39743 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHPC7WSDBK2HDQS37XSFETZDWCNDAVCNFSM6AAAAAA5OQSUC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRWGMYTENRXGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Just reinstall your pods. If ur using latest rn you can use 'npx pod-install' at the root |
thinks. it's worked. |
not working still gives below error React codegen Command PhaseScriptExecution failed with a nonzero exit code |
Please help and share output of the 'npx pod-install' command. Thanks |
To the ones' for whom it worked by installing the pod: Reason: |
with command npx pod install everything got installed. and from terminal explicit dependency on target 'React-Codegen' in stopped when running ios emulator in react native |
same using node version 18.20.3 |
Node v18.18.2 I did not experience this issue for a while now. |
any update on issue? any workarounds? |
@sravanvudem please run Here's mine
|
@redefinered everything same only version changes macos version and cocopods version :1.15 |
try reinstall everything
|
tried still same issue |
Check xcode, update your simulators. |
everything upto date im just creating a blank project with npx react-native init myapp_name explicit dependency on target 'React-Codegen' in stopped when running ios emulator in react native ==> when running from terminal React codegen Command PhaseScriptExecution failed with a nonzero exit code ==> when running from Xcode emulator ios 17.2 |
yes on a blank project its same issue |
You will need to clear xcode/simulator caches, will send info to you soon, just out buyung dinner. 😂 |
@sravanvudem delete all these directories except your simulator
|
@redefinered still same issue deleted the above mentioned folders after deleting other projects facing same issue now :-( :( :-( :( |
any workarounds??? |
Same thing. iOS 17.5 / XCode 15.4 |
is there any folder level issues |
Still same Issue . I have clean all the Caches stills same issue .
|
I did this with npx pod-install an worked on the simulator but not in the real device |
is there any issue with yarn or corepack config?? |
Description
info Opening the app on iOS...
info Found Xcode workspace "FocusFlow.xcworkspace"
info No booted devices or simulators found. Launching first available simulator...
info Launching iPhone SE (3rd generation) (iOS 17.0)
info Building (using "xcodebuild -workspace FocusFlow.xcworkspace -configuration Debug -scheme FocusFlow -destination id=A3B53EE6-A05D-49D6-8F89-819EFDC7921B")
info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace FocusFlow.xcworkspace -configuration Debug -scheme FocusFlow -destination id=A3B53EE6-A05D-49D6-8F89-819EFDC7921B
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (84 targets)
Target 'FocusFlow' in project 'FocusFlow'
➜ Implicit dependency on target 'Pods-FocusFlow' in project 'Pods' via file 'Pods_FocusFlow.framework' in build phase 'Link Binary'
➜ Implicit dependency on target 'React-CoreModules' in project 'Pods' via options '-framework CoreModules' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'DoubleConversion' in project 'Pods' via options '-framework DoubleConversion' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'PromisesObjC' in project 'Pods' via options '-framework FBLPromises' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseAppCheckInterop' in project 'Pods' via options '-framework FirebaseAppCheckInterop' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseAuth' in project 'Pods' via options '-framework FirebaseAuth' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseAuthInterop' in project 'Pods' via options '-framework FirebaseAuthInterop' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseCore' in project 'Pods' via options '-framework FirebaseCore' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseCoreExtension' in project 'Pods' via options '-framework FirebaseCoreExtension' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseCoreInternal' in project 'Pods' via options '-framework FirebaseCoreInternal' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseFirestore' in project 'Pods' via options '-framework FirebaseFirestore' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FirebaseStorage' in project 'Pods' via options '-framework FirebaseStorage' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'GTMSessionFetcher' in project 'Pods' via options '-framework GTMSessionFetcher' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'GoogleUtilities' in project 'Pods' via options '-framework GoogleUtilities' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTAnimation' in project 'Pods' via options '-framework RCTAnimation' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTBlob' in project 'Pods' via options '-framework RCTBlob' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTImage' in project 'Pods' via options '-framework RCTImage' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTLinking' in project 'Pods' via options '-framework RCTLinking' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTNetwork' in project 'Pods' via options '-framework RCTNetwork' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTSettings' in project 'Pods' via options '-framework RCTSettings' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTText' in project 'Pods' via options '-framework RCTText' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RCTTypeSafety' in project 'Pods' via options '-framework RCTTypeSafety' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTVibration' in project 'Pods' via options '-framework RCTVibration' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNCMaskedView' in project 'Pods' via options '-framework RNCMaskedView' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNCPushNotificationIOS' in project 'Pods' via options '-framework RNCPushNotificationIOS' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNDateTimePicker' in project 'Pods' via options '-framework RNDateTimePicker' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNDeviceInfo' in project 'Pods' via options '-framework RNDeviceInfo' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNFBApp' in project 'Pods' via options '-framework RNFBApp' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNFBAuth' in project 'Pods' via options '-framework RNFBAuth' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNFBFirestore' in project 'Pods' via options '-framework RNFBFirestore' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNFBStorage' in project 'Pods' via options '-framework RNFBStorage' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNGestureHandler' in project 'Pods' via options '-framework RNGestureHandler' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNPermissions' in project 'Pods' via options '-framework RNPermissions' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNReanimated' in project 'Pods' via options '-framework RNReanimated' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNSVG' in project 'Pods' via options '-framework RNSVG' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNScreens' in project 'Pods' via options '-framework RNScreens' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNSketchCanvas' in project 'Pods' via options '-framework RNSketchCanvas' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RNVectorIcons' in project 'Pods' via options '-framework RNVectorIcons' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-Core-60309c9c' in project 'Pods' via options '-framework React' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'ReactCommon' in project 'Pods' via options '-framework ReactCommon' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-Codegen' in project 'Pods' via options '-framework React_Codegen' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-NativeModulesApple' in project 'Pods' via options '-framework React_NativeModulesApple' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTAppDelegate' in project 'Pods' via options '-framework React_RCTAppDelegate' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-debug' in project 'Pods' via options '-framework React_debug' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-runtimescheduler' in project 'Pods' via options '-framework React_runtimescheduler' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-utils' in project 'Pods' via options '-framework React_utils' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RecaptchaInterop' in project 'Pods' via options '-framework RecaptchaInterop' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'SocketRocket' in project 'Pods' via options '-framework SocketRocket' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'abseil' in project 'Pods' via options '-framework absl' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-cxxreact' in project 'Pods' via options '-framework cxxreact' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'fmt' in project 'Pods' via options '-framework fmt' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RCT-Folly' in project 'Pods' via options '-framework folly' in build sett
React Native Version
0.72.3
Output of
npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 14.0
CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
Memory: 101.45 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.8.0
path: /usr/local/bin/node
Yarn: Not Found
npm:
version: 10.1.0
path: /usr/local/bin/npm
Watchman:
version: 2023.09.25.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /Users/ismail/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode:
version: 15.0/15A240d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.8
path: /usr/bin/javac
Ruby:
version: 3.0.0
path: /Users/ismail/.rvm/rubies/ruby-3.0.0/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.3
wanted: 0.72.3
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
Library in my project
{
"name": "FocusFlow",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@benjeau/react-native-draw": "^0.8.3",
"@kichiyaki/react-native-sketch-canvas": "^0.8.10",
"@react-native-community/datetimepicker": "^7.5.0",
"@react-native-community/push-notification-ios": "^1.11.0",
"@react-native-firebase/app": "^18.3.0",
"@react-native-firebase/auth": "^18.3.0",
"@react-native-firebase/firestore": "^18.3.0",
"@react-native-firebase/storage": "^18.3.0",
"@react-native-masked-view/masked-view": "^0.2.9",
"@react-navigation/bottom-tabs": "^6.5.8",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"@react-navigation/stack": "^6.3.17",
"@shopify/react-native-skia": "^0.1.202",
"deprecated-react-native-prop-types": "^4.2.1",
"moment": "^2.29.4",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-canvas": "^0.1.39",
"react-native-circular-progress-indicator": "^4.4.2",
"react-native-countdown-circle-timer": "^3.2.1",
"react-native-device-info": "^10.9.0",
"react-native-draw": "^0.0.1",
"react-native-elements": "^3.4.3",
"react-native-gesture-handler": "^2.12.1",
"react-native-modal-datetime-picker": "^17.1.0",
"react-native-permissions": "^3.9.0",
"react-native-progress-circle": "^2.1.0",
"react-native-push-notification": "^8.1.1",
"react-native-reanimated": "^3.4.2",
"react-native-safe-area-context": "^4.7.1",
"react-native-screens": "^3.24.0",
"react-native-svg": "^13.13.0",
"react-native-vector-icons": "^10.0.0",
"react-redux": "^8.1.2",
"redux": "^4.2.1",
"rn-perfect-sketch-canvas": "^0.3.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.9",
"@tsconfig/react-native": "^3.0.0",
"@types/react": "^18.2.21",
"@types/react-native": "^0.72.2",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.7",
"prettier": "^2.4.1",
"react-test-renderer": "18.2.0",
"typescript": "^4.8.4"
},
"engines": {
"node": ">=16"
}
}
Snack, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: