๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
โ—๏ธError

[Flutter Error ํ•ด๊ฒฐ๋ฒ• ํฌํ•จ] could not build the application for the simulator.

by Fomagran ๐Ÿ’ป 2021. 1. 24.
728x90
๋ฐ˜์‘ํ˜•

์•ˆ๋…•ํ•˜์„ธ์š” Foma ์ž…๋‹ˆ๋‹ค!

 

์˜ค๋Š˜์€ Flutter ๋ฅผ ๊ฐœ๋ฐœํ•˜๋ ค๊ณ  ์‹œ์ž‘ํ•˜์ž๋งˆ์ž ๋งŒ๋‚œ ์—๋Ÿฌ๋ฅผ ๊ฐ€์ง€๊ณ  ์™”์Šต๋‹ˆ๋‹ค.


Error

 

Flutter ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  iOS ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋กœ ๋Œ๋ ค๋ณด๋ ค๋Š”๋ฐ ๊ฐ‘์ž๊ธฐ ์•„๋ž˜์™€ ๊ฐ™์ด

 

"Could not build the application for the simulator" ๋ผ๊ณ  ์˜ค๋ฅ˜๊ฐ€ ๋œจ๋Š”๊ฑฐ์—์š”.

 


Solution

 

๊ทธ๋ž˜์„œ ๊ตฌ๊ธ€๋ง์„ ํ•ด๋ณด์•˜๋”๋‹ˆ ์•„๋ž˜์™€ ๊ฐ™์€ ํ•ด๊ฒฐ๋ฒ•์„ ์ฐพ์„ ์ˆ˜ ์žˆ์—ˆ์–ด์š”.

 

1. ํ•ด๋‹น ํ”„๋กœ์ ํŠธ์—์„œ iosํด๋”์— ๋“ค์–ด๊ฐ€์„œ xcworkspace ํŒŒ์ผ์„ ์—ด์–ด์„œ xcode์ƒ์—์„œ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ํ•œ๋ฒˆ ์ผœ๊ณ  ๋‹ค์‹œ ์‹คํ–‰ํ•œ๋‹ค.

 

2.ํ„ฐ๋ฏธ๋„์„ ์ผœ๊ณ  ํ•ด๋‹น ํ”„๋กœ์ ํŠธ ์ฃผ์†Œ๋ฅผ ์ž…๋ ฅํ›„ flutter clean์„ ์ž…๋ ฅํ•œ๋‹ค.

 

์ €๋Š” ์ด ๋‘ ํ•ด๊ฒฐ๋ฒ•์„ ๋™์‹œ์— ํ•ด์„œ ๋ฌด์—‡์œผ๋กœ ํ•ด๊ฒฐ๋œ์ง€๋Š” ์ž˜ ๋ชจ๋ฅด๊ฒ ๋„ค์š” ใ…œ 

 

์•„๋ฌดํŠผ ์ด ๋‘ ํ•ด๊ฒฐ๋ฒ•์œผ๋กœ ์ €๋Š” ์ •์ƒ์ ์œผ๋กœ Simulator๊ฐ€ ์ž˜ ์ž‘๋™๋˜์—ˆ์Šต๋‹ˆ๋‹ค!!


Reference

 

1.

 

Could not build the application for the simulator. Error launching application on iPhone 11 Pro Max

My problem is I cannot start debugging on iOS simulator for some reason. I have tried several solutions it helped in their ways I guess but the problem is not gone and I am desperate now. I don't k...

stackoverflow.com

2.

 

Not able to run flutter app on iOS Simulator

I am not able to run my flutter app on iOS Simulator. It is giving me this error : Launching lib/main.dart on iPhone XR in debug mode... Starting Xcode build... Xcode build done. ...

stackoverflow.com


1.30 ์ˆ˜์ •

 

1๋ฒˆ์งธ ๋ฐฉ๋ฒ•์œผ๋ก  ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋กœ ํ™”๋ฉด์„ ํ™•์ธํ•˜๋Š” ๊ฒƒ์€ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ ํ•ซ๋ฆฌ๋กœ๋“œ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ• ์ˆœ ์—†์Šต๋‹ˆ๋‹ค.

 

๋˜ํ•œ ์ˆ˜์ •ํ• ๋•Œ๋งˆ๋‹ค Xcode๋กœ ์žฌ์‹คํ–‰ ์‹œ์ผœ์ฃผ์…”์•ผํ•ฉ๋‹ˆ๋‹ค.

 

2๋ฒˆ์งธ ๋ฐฉ๋ฒ•์œผ๋กœ ์ฝ”๋“œ๊ฐ€ ์ˆ˜์ •๋˜์—ˆ์„๋•Œ ํ•ซ๋ฆฌ๋กœ๋“œ๋กœ ๋ฐ”๋กœ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ ์ƒ์—์„œ ํ™•์ธ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค!

 

์•„๋ฌด๋ž˜๋„ 2๋ฒˆ์งธ ๋ฐฉ๋ฒ•์ด ์ œ๋Œ€๋กœ๋œ ํ•ด๊ฒฐ๋ฒ•์ด๋ผ๊ณ  ์ƒ๊ฐ๋˜๋„ค์š”!

728x90
๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€