ν°μΌλ‘ λΉλ μ λ°μν μλ¬ ^^
μλ μ¬λ¬ κ°μ§ ν΄κ²°λ°©λ²λ€μ΄ μμΌλ ν΄λΉνλ κ²½μ°λ₯Ό μ°Ύμ ν΄λ³΄κΈΈ!!
μλλ©΄ μ°¨λ‘λλ‘ λ€ ν΄λ³΄κΈΈ!!
[π±μλ¬ λ΄μ©]
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
[π±Solution 2. iPhone μ°κ²° λκΉ νμ ν΄κ²°]
μ°κ²°μ μ΄ λ¬Έμ μΈκ±° κ°λ€λ λλμ΄ λ λ€λ©΄...
1. μλ κ²½λ‘μμ ν°λ―Έλ μ€ν
μμ© νλ‘κ·Έλ¨ –> μ νΈλ¦¬ν° – > ν°λ―Έλ
(Applications –> Utilities –> Terminal)
2. μλ λͺ λ Ήμ΄ μ€ν
% sudo killall -STOP -c usbd
3. macOS λΉλ°λ²νΈ μ λ ₯
[π±Solution 3. Xcode μ λ°μ΄νΈ]
λμ κ²½μ°, ν΄κ²°λ λ°©λ²,,,
λ΄ ν°μΌλ‘ ν΄λ μλκ³ λ€λ₯Έ ν°μΌλ‘ νμ λλ μλλ κ²½μ°!!!!! Xcodeμ λ¬Έμ κ° μμμ μ§κ°νλ€.
κ·Έλ¬λ ν΄κ²°λ²μ μ°Ύμ§ λͺ»νλλ°, Xcode μ λ°μ΄νΈ μ νλλΌ,,,;;;
Xcode μ λ°μ΄νΈνλκΉ λ°λ‘ ν΄κ²°λ¨!!!!!