[Error, Xcode] ํฐ ๋น๋ ์๋ฌ - Unable to prepare DEVICE for development, Failed to prepare device for development ERROR ํด๊ฒฐ๋ฒ
ํฐ์ผ๋ก ๋น๋ ์ ๋ฐ์ํ ์๋ฌ ^^
์๋ ์ฌ๋ฌ ๊ฐ์ง ํด๊ฒฐ๋ฐฉ๋ฒ๋ค์ด ์์ผ๋ ํด๋นํ๋ ๊ฒฝ์ฐ๋ฅผ ์ฐพ์ ํด๋ณด๊ธธ!!
์๋๋ฉด ์ฐจ๋ก๋๋ก ๋ค ํด๋ณด๊ธธ!!
[๐ฑ์๋ฌ ๋ด์ฉ]
Unable to prepare DEVICE for development
Please check the connection to the device, and review all errors in the Devices and Simulators window.
Windows > Devices and Simulators ๋ค์ด๊ฐ๋ฉด
์๋์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
"Failed to prepare device for development."
"If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device."
[๐ฑSolution 1. ํฐ ์ฌ๋ถํ ]
์ผ๋จ ์ฒซ ๋ฒ์งธ, ํธ๋ํฐ ์ฌ๋ถํ ^^
์๋๋ฉด ์๋ ํ๋ก์ธ์ค๋ฅผ ํด๋ณผ ๊ฒ!
- Delete the app from the phone
- Clean the Build Folder with: โ + shift + K
- Delete derived data
- Unpair device (from โ + shift + 2 window)
- Disconnect iPhone
- Restart iPhone
- Restart Mac
- Trust
๊ตฌ๊ธ๋งํ๋ ๋๋ถ๋ถ์ด ํธ๋ํฐ ์ฌ๋ถํ !!! ๋๋ ์์ ์ ์ด๊ฑธ๋ก ํ์๋๋ฐ ์๋๋ค...
https://stackoverflow.com/questions/64974291/xcode-error-failed-to-prepare-device-for-development
Xcode error: Failed to prepare device for development
I have updated to Xcode 12.3 beta. device version is 14.2, but Xcode complaining: Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window.
stackoverflow.com
[๐ฑSolution 2. iPhone ์ฐ๊ฒฐ ๋๊น ํ์ ํด๊ฒฐ]
์ฐ๊ฒฐ์ ์ด ๋ฌธ์ ์ธ๊ฑฐ ๊ฐ๋ค๋ ๋๋์ด ๋ ๋ค๋ฉด...
1. ์๋ ๊ฒฝ๋ก์์ ํฐ๋ฏธ๋ ์คํ
์์ฉ ํ๋ก๊ทธ๋จ –> ์ ํธ๋ฆฌํฐ – > ํฐ๋ฏธ๋
(Applications –> Utilities –> Terminal)
2. ์๋ ๋ช ๋ น์ด ์คํ
% sudo killall -STOP -c usbd
3. macOS ๋น๋ฐ๋ฒํธ ์ ๋ ฅ
[๐ฑSolution 3. Xcode ์ ๋ฐ์ดํธ]
๋์ ๊ฒฝ์ฐ, ํด๊ฒฐ๋ ๋ฐฉ๋ฒ,,,
๋ด ํฐ์ผ๋ก ํด๋ ์๋๊ณ ๋ค๋ฅธ ํฐ์ผ๋ก ํ์ ๋๋ ์๋๋ ๊ฒฝ์ฐ!!!!! Xcode์ ๋ฌธ์ ๊ฐ ์์์ ์ง๊ฐํ๋ค.
๊ทธ๋ฌ๋ ํด๊ฒฐ๋ฒ์ ์ฐพ์ง ๋ชปํ๋๋ฐ, Xcode ์ ๋ฐ์ดํธ ์ ํ๋๋ผ,,,;;;
Xcode ์ ๋ฐ์ดํธํ๋๊น ๋ฐ๋ก ํด๊ฒฐ๋จ!!!!!