react native - RLidea/dev.docs GitHub Wiki

μ„€μΉ˜

npm install -g expo-cli

ν”„λ‘œμ νŠΈ 생성

expo init react-native-demo

iOS λΉŒλ“œ

Xcode λ₯Ό ν•œ λ²ˆμ€ μ—΄μ–΄μ„œ ν•„μˆ˜ μš”μ†Œλ₯Ό μ„€μΉ˜ν•΄μ•Όν•œλ‹€.

yarn ios

npm iν•˜κ³  λ‚˜λ©΄ npm run iosλ‘œλ„ λΉŒλ“œκ°€ 되긴 ν•˜λŠ”λ°, μ–΄μ§Έμ„œμΈμ§€ 개발자 도ꡬ가 μ•ˆ μ—΄λ¦°λ‹€. μ™ λ§Œν•˜λ©΄ yarn 을 μ΄μš©ν•˜μž.

ios λΉŒλ“œ νŠΈλŸ¬λΈ” μŠˆνŒ…

xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

μœ„ μ—λŸ¬κ°€ λ‚˜μ˜¬ 경우 μ°Έκ³ 

Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening reactnativedemo.xcodeproj