실행 실패
npm run start
// 이후 i 입력 후 IOS 시뮬레이터 실행위 명령어를 실행하면
yarn run v1.22.19
$ react-native start
▒▒▓▓▓▓▒▒
▒▓▓▓▒▒░░▒▒▓▓▓▒
▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
▒▓▓▓▒░░░░▒▓▓▓▒
▒▒▓▓▓▓▒▒
Welcome to Metro v0.76.8
Fast - Scalable - Integrated
r - reload the app
d - open developer menu
i - run on iOS
a - run on Android
info Opening the app on iOS...
info Found Xcode workspace "kobeReactNative.xcworkspace"
info No booted devices or simulators found. Launching first available simulator...
info Launching iPhone SE (3rd generation) (iOS 18.0)
info Building (using "xcodebuild -workspace kobeReactNative.xcworkspace -configuration Debug -scheme kobeReactNative -destination id=A9D1DDD6-6FB9-4912-B4F1-048775538E64")
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 kobeReactNative.xcworkspace -configuration Debug -scheme kobeReactNative -destination id=A9D1DDD6-6FB9-4912-B4F1-048775538E64
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (56 targets)
Target 'kobeReactNative' in project 'kobeReactNative'
➜ Implicit dependency on target 'Pods-kobeReactNative' in project 'Pods' via file 'libPods-kobeReactNative.a' in build phase 'Link Binary'
➜ Implicit dependency on target 'CocoaAsyncSocket' in project 'Pods' via options '-lCocoaAsyncSocket' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'DoubleConversion' in project 'Pods' via options '-lDoubleConversion' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'Flipper' in project 'Pods' via options '-lFlipper' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'Flipper-Boost-iOSX' in project 'Pods' via options '-lFlipper-Boost-iOSX' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'Flipper-Fmt' in project 'Pods' via options '-lFlipper-Fmt' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'Flipper-Folly' in project 'Pods' via options '-lFlipper-Folly' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'Flipper-PeerTalk' in project 'Pods' via options '-lFlipper-PeerTalk' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'FlipperKit' in project 'Pods' via options '-lFlipperKit' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RCT-Folly' in project 'Pods' via options '-lRCT-Folly' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'RCTTypeSafety' in project 'Pods' via options '-lRCTTypeSafety' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-Codegen' in project 'Pods' via options '-lReact-Codegen' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-Core' in project 'Pods' via options '-lReact-Core' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-CoreModules' in project 'Pods' via options '-lReact-CoreModules' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-NativeModulesApple' in project 'Pods' via options '-lReact-NativeModulesApple' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTAnimation' in project 'Pods' via options '-lReact-RCTAnimation' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTAppDelegate' in project 'Pods' via options '-lReact-RCTAppDelegate' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTBlob' in project 'Pods' via options '-lReact-RCTBlob' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTImage' in project 'Pods' via options '-lReact-RCTImage' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTLinking' in project 'Pods' via options '-lReact-RCTLinking' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTNetwork' in project 'Pods' via options '-lReact-RCTNetwork' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTSettings' in project 'Pods' via options '-lReact-RCTSettings' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTText' in project 'Pods' via options '-lReact-RCTText' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-RCTVibration' in project 'Pods' via options '-lReact-RCTVibration' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-cxxreact' in project 'Pods' via options '-lReact-cxxreact' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-debug' in project 'Pods' via options '-lReact-debug' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-hermes' in project 'Pods' via options '-lReact-hermes' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-jsi' in project 'Pods' via options '-lReact-jsi' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-jsiexecutor' in project 'Pods' via options '-lReact-jsiexecutor' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-jsinspector' in project 'Pods' via options '-lReact-jsinspector' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-logger' in project 'Pods' via options '-lReact-logger' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-perflogger' in project 'Pods' via options '-lReact-perflogger' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-runtimescheduler' in project 'Pods' via options '-lReact-runtimescheduler' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'React-utils' in project 'Pods' via options '-lReact-utils' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'ReactCommon' in project 'Pods' via options '-lReactCommon' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'SocketRocket' in project 'Pods' via options '-lSocketRocket' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'Yoga' in project 'Pods' via options '-lYoga' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'YogaKit' in project 'Pods' via options '-lYogaKit' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'fmt' in project 'Pods' via options '-lfmt' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'glog' in project 'Pods' via options '-lglog' in build setting 'OTHER_LDFLAGS'
➜ Implicit dependency on target 'libevent' in project 'Pods' via options '-llibevent' in build setting 'OTHER_LDFLAGS'
Target 'Pods-kobeReactNative' in project 'Pods'
➜ Explicit dependency on target 'CocoaAsyncSocket' in project 'Pods'
➜ Explicit dependency on target 'DoubleConversion' in project 'Pods'
➜ Explicit dependency on target 'FBLazyVector' in project 'Pods'
➜ Explicit dependency on target 'FBReactNativeSpec' in project 'Pods'
➜ Explicit dependency on target 'Flipper' in project 'Pods'
➜ Explicit dependency on target 'Flipper-Boost-iOSX' in project 'Pods'
➜ Explicit dependency on target 'Flipper-DoubleConversion' in project 'Pods'
➜ Explicit dependency on target 'Flipper-Fmt' in project 'Pods'
➜ Explicit dependency on target 'Flipper-Folly' in project 'Pods'
➜ Explicit dependency on target 'Flipper-Glog' in project 'Pods'
➜ Explicit dependency on target 'Flipper-PeerTalk' in project 'Pods'
➜ Explicit dependency on target 'FlipperKit' in project 'Pods'
➜ Explicit dependency on target 'OpenSSL-Universal' in project 'Pods'
➜ Explicit dependency on target 'RCT-Folly' in project 'Pods'
➜ Explicit dependency on target 'RCTRequired' in project 'Pods'
➜ Explicit dependency on target 'RCTTypeSafety' in project 'Pods'
➜ Explicit dependency on target 'React' in project 'Pods'
➜ Explicit dependency on target 'React-Codegen' in project 'Pods'
➜ Explicit dependency on target 'React-Core' in project 'Pods'
➜ Explicit dependency on target 'React-CoreModules' in project 'Pods'
➜ Explicit dependency on target 'React-NativeModulesApple' in project 'Pods'
➜ Explicit dependency on target 'React-RCTActionSheet' in project 'Pods'
➜ Explicit dependency on target 'React-RCTAnimation' in project 'Pods'
➜ Explicit dependency on target 'React-RCTAppDelegate' in project 'Pods'
➜ Explicit dependency on target 'React-RCTBlob' i
이런 로그에서 멈춰서 더 이상 진행이 안되는데, 뭐가 문제인지 도저히 감이 잡히질 않네요 ㅠ
답변 2
0
안녕하세요, 인프런 AI 인턴입니다. 정종찬님의 문제를 이해하고 해결에 도움이 될만한 정보를 찾아보았습니다.
정종찬님께서 실행하신 명령어에서 iOS 시뮬레이터가 실행되지 않고 로그가 멈추는 문제를 겪고 계신 것 같습니다. 주어진 로그에서 엿볼 수 있는 문제는, iOS 시뮬레이터에 관련된 부분입니다. 일반적으로 이런 문제는 개발 환경 설정에서 비롯될 수 있습니다.
가능한 해결책:
Xcode와 Xcode Command Line Tools 확인: 최신 버전의 Xcode와 해당 Command Line Tools가 설치되고 설정되었는지 확인하세요. 가끔
sudo xcode-select --switch /Applications/Xcode.app명령어로 명시적으로 Xcode의 경로를 지정해주는 것이 필요할 수 있습니다.시뮬레이터 설정 확인: Xcode에서 사용 가능한 시뮬레이터가 있는지, 특히 ‘iPhone SE (3rd generation)’ 시뮬레이터가 올바르게 설정되어 있는지 확인하세요. 시뮬레이터를 수동으로 실행해보는 것도 좋습니다.
React Native Doctor:
npx react-native doctor명령어를 사용하여 설정의 문제를 점검하고, 제안된 해결책을 따르세요.Pod 재설치: iOS 프로젝트의 Pod 파일이 제대로 설치되지 않았을 수 있습니다. 다음 명령어를 사용하여 Pod를 제거하고 다시 설치해 보세요:
cd ios rm -rf Pods rm Podfile.lock pod install cd ..그런 다음
npm run start을 반복해서 시도해 보세요.
이와 관련된 실제 사례 및 해결 방법을 소개한 답변이 수강생 커뮤니티에 있습니다. 해당 강의를 수강하는 수험생이 비슷한 문제를 해결하는 과정에서 정보를 나눈 게시물을 참고해보세요:
- “시뮬레이터가 작동하지 않아요ㅠ”: xcode가 정상적으로 설정된 후에도 문제가 지속되는 경우에 대한 해결책이 논의됐습니다.
정종찬님께서 문제가 해결되길 바랍니다. 다른 궁금한 점이 있으시다면, 계속해서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다. 현재 베타 기능으로 답변이 만족스럽지 않을 수 있는 점 양해 부탁드립니다. 🙏
저는 질문자님의 이해를 돕기 위해 유사한 문제를 겪었던 다른 사용자의 해결 과정을 참고해 유사한 답변 링크를 제공해드리고 있습니다.
react-native-screens 버전 호환 문제
2
153
1
안드로이드 실행 중 Drawer네비게이션과 MapView 성능 문제
0
103
2
해당 강의 부분은 실제 활용하기에 부족해 제가 해결한 방법입니다.
0
96
1
소스코드가 강의 순서랑 다른가요?
0
72
2
현재 Windows에서 VsCode로 작업 중인데 추후에 IOS도 가능하게 하려면
0
115
2
react-native-fast-image는 react 19 버전에서 설치가 안되나요?
0
209
2
SQL Shell의 역할이 무엇인가요?
0
91
1
혹시 해당 강의에서invalidateQueries를 사용한 이유가 있을까요?
0
79
2
빠르게 실행해보고싶습니다.
0
82
1
강의 수강 순서 관련
0
70
1
애뮬레이터 실행 방법
0
99
2
무료 Apple ID로 실기기 테스트 가능한가요?
0
90
2
ios 실기기 연결
0
70
2
npm run ios에러
0
74
1
10월 삭제 예정인 강의는 이유를 알 수 있을까요?
0
101
1
캘린더 개발 후에 navigation 에 대해서 궁금한 점이 있습니다.
0
51
1
안드로이드 위치 권한 이슈 2가지 문의
0
71
1
지도가 보이려면 음.. 작성해주신 스타일과 다르게
0
74
0
제대로 설치한거같은데 안드로이드랑 ios 둘다 앱실행이 안되는것같아요
0
83
3
강의 내용을 보면 전체적으로 function 함수 키워드를 사용하시는데
0
69
2
강의 3-9 에서 useGetRefreshToken 훅 안에 즉시 함수로 처리하는 이유가 궁금합니다!
0
82
2
사내에서 figma.com 업로드 안되나요?
0
96
1
AWS EC2 + RDS 설정
0
85
2
안드로이드 안켜집니다.
0
91
2





