[RN ์—๋Ÿฌ๋…ธํŠธ๐Ÿ”ฅ] main.jsbundle does not exist ...

๋„๋””ยท2020๋…„ 10์›” 5์ผ
4

RN ์—๋Ÿฌ๋…ธํŠธ ๐Ÿ”ฅ

๋ชฉ๋ก ๋ณด๊ธฐ
10/25

์Œ.. ์ด ์—๋Ÿฌ๊ฐ€ ์–ด์ฉŒ๋‹ค๊ฐ€ ์ƒ๊ธด์ง€ ๊ธฐ์–ต์ด ์•ˆ๋‚œ๋‹ค. ์ •์‹ ์„ ์–ด๋””์— ๋‘๊ณ  ๋‹ค๋‹ˆ๋Š” ๊ฑด์ง€ ๋ชจ๋ฅด๊ฒ ๋‹ค..
archive๋ฅผ ํ•˜๋ ค๋Š”๋ฐ ์ž๊พธ ์ด ์—๋Ÿฌ๊ฐ€ ๋œจ๋Š” ๊ฒƒ์ด๋‹ค..
ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์ด ์ƒ๊ฐ๋ณด๋‹ค ์ด๋ฆฌ์ €๋ฆฌ ๋Œ์•„๋‹ค๋…€ ์žˆ๋Š”๋ฐ ์™œ ๋‚˜๋Š” ์ด ์—๋Ÿฌ๋ฅผ ์žก๋Š”๋ฐ ์˜ค๋žœ์‹œ๊ฐ„์„ ๋“ค์˜€๋Š”์ง€ ๋ชจ๋ฅด๊ฒ ๋‹ค.. ๋ฉ์ถฉ๋ฉ์ถฉ
์ฐธ๊ณ ๋ธ”๋กœ๊ทธ๋ฅผ ๋”ฐ๋ผํ•ด๋„ ๋˜๊ณ , ๋‚ด ๊ธ€์„ ๋”ฐ๋ผํ•ด๋„ ๋œ๋‹ค.

์ฐธ๊ณ  ๋ธ”๋กœ๊ทธ


1๋‹จ๊ณ„

package.json์˜ scripts์— ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ ํ•œ๋‹ค.

"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'"

2๋‹จ๊ณ„

์ปค๋งจ๋“œ์—์„œ ์•„๋ž˜๋ฅผ ์‹คํ–‰์‹œํ‚ค๋ฉด main.jsbundle ํŒŒ์ผ์ด ์ƒ๊ธด๋‹ค.

yarn build:ios
or 
npm run build:ios

3๋‹จ๊ณ„

xcode๋ฅผ ์ผœ์„œ ์•„๋ž˜์™€ ๊ฐ™์ด ํ•ฉ๋‹ˆ๋‹ค.
1. Build Pharse์— Copy Bundle Resource์„ ์ฃผ๋ชฉํ•˜์ž.

2. ๊ฑฐ๊ธฐ์— '+' ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๊ณ  main.jsbundle์„ ์„ ํƒํ•ด์„œ ์ถ”๊ฐ€ํ•ด์ฃผ์ž.

4๋‹จ๊ณ„

archive๋ฅผ ํ•ด๋ณด์ž. ๋œ๋‹ค..

profile
์ถฉ์ „์ค‘..๐Ÿค”

5๊ฐœ์˜ ๋Œ“๊ธ€

comment-user-thumbnail
2021๋…„ 1์›” 22์ผ

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค ใ…œ.ใ…œ ๋น…์„œ ์—…๋ฐ์ดํŠธ๊ฐ€ ๋ฌธ์ œ์ธ์ง€ m1์ด ๋ฌธ์ œ์ธ์ง€ ๊ฐ‘์ž๊ธฐ ์•ˆ๋ผ์„œ ๋‹นํ™ฉํ–ˆ๋Š”๋ฐ ๋•๋ถ„์— ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค!

1๊ฐœ์˜ ๋‹ต๊ธ€
comment-user-thumbnail
2021๋…„ 4์›” 30์ผ

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋•๋ถ„์— ์ €๋„ ๊ธˆ๋ฐฉ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค :)

1๊ฐœ์˜ ๋‹ต๊ธ€
comment-user-thumbnail
2024๋…„ 2์›” 8์ผ

์ €๋Š” ์™œ ์•ˆ๋ ๊นŒ์š”.. eas build ํ•˜๋ฉด error: /Users/expo/workingdir/build/ios/main.jsbundle: No such file or directory (in target 'PROJECTNAMEโ€ฒfromprojectโ€ฒ{PROJECT_NAME}' from project '{PROJECT_NAME}') ์ด๋Ÿฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋„ค์š” .. ใ… ใ… 

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ