λ³Έλ¬Έ λ°”λ‘œκ°€κΈ°

🍎 iOS/Error Handling

[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 μ—…λ°μ΄νŠΈν•˜λ‹ˆκΉŒ λ°”λ‘œ 해결됨!!!!!

728x90
λ°˜μ‘ν˜•