๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

React Native

[ ReactNative / iOS ] iOS ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ ๋””๋ฐ”์ด์Šค ๋ณ€๊ฒฝํ•˜๊ธฐ.

React Native๋กœ iOS ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ํ†ตํ•ด ํ”„๋กœ์ ํŠธ๋ฅผ ๋นŒ๋“œ๋ฅผ ํ•˜๋Š”๋ฐ,

๊ณ„์† ๋‚ด๊ฐ€ ์„ค์น˜ํ•˜์ง€ ์•Š์€ iOS ๋ฒ„์ „์˜ iPhone ํƒ€๊ฒŸ์ด ์žกํ˜”๋‹ค.ใ… ใ… 

๋‹ต๋‹ตํ•ด์„œ ์„œ์น˜๋ฅผ ํ•ด๋ณด๋‹ˆ ๊ณต์‹ ํŽ˜์ด์ง€์— ์นœ์ ˆํžˆ ๋‚˜์™€์žˆ๋‹ค!

 

 

 

 

 

 

 

1) ํ˜„์žฌ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ device ์ •๋ณด ํ™•์ธํ•˜๊ธฐ

xcrun simctl list devices

 

 

 

๋ช…๋ น์–ด๋ฅผ ์น˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ๋‚ด๊ฐ€ ์‚ฌ์šฉ๊ฐ€๋Šฅํ•œ iOS ๋ฒ„์ „๊ณผ ๋””๋ฐ”์ด์Šค ๋ชฉ๋ก์ด ๋‚˜์˜จ๋‹ค.

 

 

 

 

 

 

 

 

 

 

 

 

2) ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋””๋ฐ”์ด์Šค ์ค‘ ๋‚ด๊ฐ€ ์›ํ•˜๋Š” ๋””๋ฐ”์ด์Šค ๋ฐ iOS ๋ฒ„์ „ ์„ ํƒ.

npx react-native run-ios --simulator="iPhone 13 (15.5)"

 

 

์ด๋ ‡๊ฒŒ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๋ฉด

 

 

 

 

์ด๋ ‡๊ฒŒ ๋‚ด๊ฐ€ ์›ํ•˜๋Š” ๋””๋ฐ”์ด์Šค์˜ ์›ํ•˜๋Š” iOS ๋ฒ„์ „์œผ๋กœ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ ์„ ํƒ์ด ๊ฐ€๋Šฅํ•˜๋‹ค-!!

 

 

 

 

 

 

 

 

 

 

 

์ฐธ๊ณ  ์ž๋ฃŒ )

React Native ๊ณต์‹ ํŽ˜์ด์ง€ - Running On Simulator