๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐ŸŽ iOS/Error Handling

[Error, Xcode] ํฐ ๋นŒ๋“œ ์—๋Ÿฌ - Unable to install "์•ฑ์ด๋ฆ„" ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

ํฐ์œผ๋กœ ๋นŒ๋“œ ์‹œ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ ^^

์›์ธ์ด ๋ช…ํ™•ํ•˜๊ฒŒ ์•ˆ๋‚˜์™€์„œ ๋ฉฐ์น  ๊ฑธ๋ ค์„œ ํ•ด๊ฒฐ,,,;; 

๋ณดํ†ต ํ”„๋ ˆ์ž„์›Œํฌ ์ชฝ์ธ ๋“ฏ ๋‚˜์˜ ๊ฒฝ์šฐ์—๋„ embed ํ•˜๋ฉด ์•ˆ ๋˜๋Š” ํ”„๋ ˆ์ž„์›Œํฌ๋ฅผ embed ํ•ด์„œ ๋‚ฌ์—ˆ๋‹ค. 

Build Phases์—์„œ embed Frameworks์—์„œ ์‚ญ์ œํ•ด์ฃผ๋‹ˆ ์ •์ƒ์ž‘๋™!!!

 

์Šคํƒ์˜ค๋ฒ„ ํ”Œ๋กœ์šฐ ํฌํ•จํ•ด์„œ ํ•ด๋ดค๋˜ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๋“ค์„ ๋‚˜์—ดํ•ด ๋ณด์•˜๋‹ค...

์•ˆ๋˜๋ฉด ์ฐจ๋ก€๋Œ€๋กœ ๋‹ค ํ•ด๋ณด๊ธธ!!


[๐ŸŒฑ์—๋Ÿฌ ๋‚ด์šฉ]

Unable to install "์•ฑ ์ด๋ฆ„"

[ํ™˜๊ฒฝ]

  • Xcode: 13.2.1
  • Mac: 12.2.1
  • iPhone: 15.3.1

Details:

Unable to install "SwiftSampleLY_embed" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620375 User Info: {   DVTErrorCreationDateKey = "2022-02-24 07:57:04 +0000";   IDERunOperationFailingWorker = IDEInstalliPhoneLauncher; }

The code signature version is no longer supported. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620375 User Info: {


[๐ŸŒฑSolution 1. ์›์ธ ์ฐพ๊ธฐ]

์ด ๋ฌธ์ œ ํ•ด๊ฒฐ์˜ ๊ฐ€์žฅ ํฐ ์–ด๋ ค์›€์€ ํ˜„์žฌ ๋ณด์ด๋Š” ๋…ธํ‹ฐ(Unable to install "์•ฑ ์ด๋ฆ„")๋งŒ์œผ๋กœ๋Š” ์›์ธ์„ ์•Œ ์ˆ˜ ์—†๋‹ค๋Š” ๊ฒƒ!!!!!!

ํŠนํžˆ, ํ”„๋กœ์ ํŠธ ์„ค์ •์— ๋ฌธ์ œ๊ฐ€ ์—†์„ ๊ฒฝ์šฐ(์žฌ๋ถ€ํŒ…, ๋‹ค๋ฅธ ํฐ์œผ๋กœ๋„ ์•ˆ๋  ๋•Œ) ํฌ๊ธฐํ•˜์ง€ ๋งˆ์„ธ์š”!!!

 

project > archive > distribution ํ•˜๋ฉด ๋‚˜์˜ค๋Š” ์—๋Ÿฌ์˜ ์›์ธ์ด ํ•ด๋‹น ์—๋Ÿฌ(Unable to install "์•ฑ ์ด๋ฆ„")์˜ ์›์ธ์ผ ์ˆ˜ ์žˆ๋‹ค!!!!

Distribution failed with errors ๋‚ด์šฉ

๋‚˜์˜ ๊ฒฝ์šฐ๋Š” ์œ„ ์‚ฌ์ง„์„ ๋ณด๋ฉด ์™ธ๋ถ€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ๋ฌธ์ œ๋ผ๊ณ  ๋– ์žˆ๋‹ค.

ํ•ด๋‹น ํ”„๋ ˆ์ž„์›Œํฌ๋ฅผ embed ํ•˜๋ฉด ์•ˆ ๋˜๋Š”๋ฐ embed ํ•ด๋†จ๋˜ ๊ฒƒ!

General > Frameworks, Libraries, and Embedded Content์—์„œ ์‚ญ์ œ ํ˜น์€ Do Not Embed๋กœ ์„ค์ • ๋ณ€๊ฒฝ

(or Build Phases์—์„œ embed Frameworks์—์„œ ์‚ญ์ œ)ํ•ด์ฃผ๋‹ˆ ์ •์ƒ ์ž‘๋™!!! 

์ด๋ฅผ ํ•ด๊ฒฐํ•˜๋‹ˆ Unable to install "์•ฑ์ด๋ฆ„" ์—๋Ÿฌ๊ฐ€ ์—†์–ด์ง€๊ณ  ์ •์ƒ ๋นŒ๋“œ๋˜์—ˆ๋‹ค.

 


[๐ŸŒฑSolution 2. Provisioning profile ์‚ญ์ œ, ๊ฐฑ์‹ ]

โœ”๏ธ Provisioning profile ์‚ญ์ œ

Xcode -> Window -> Devices and Simulators -> Right click on your device -> Show Provisioning Profiles... -> ํ”„๋กœ์ ํŠธ์— ํ•ด๋‹นํ•˜๋Š” Provisioning Profile ์ฐพ๊ธฐ -> Remove selected profiles

 

โœ”๏ธ Provisioning profile ๊ฐฑ์‹ 

Xcode > Preferences > Accounts > Manage Certificates > + ํด๋ฆญํ•˜๋ฉด ์ž๋™์œผ๋กœ ๊ฐฑ์‹ ๋œ๋‹ค.

์• ํ”Œ ๊ฐœ๋ฐœ์ž ์‚ฌ์ดํŠธ์—์„œ ๋‹ค์šด๋ฐ›์•„์„œ ์ˆ˜๋™์œผ๋กœ ๋„ฃ์–ด์ค„ ์ˆ˜ ๋„ ์žˆ์ง€๋งŒ, ์œ„ ๋ฐฉ๋ฒ•์œผ๋กœ ํ•˜๋ฉด ์ž๋™์œผ๋กœ ๊ฐฑ์‹ ๋จ.


[๐ŸŒฑSolution 3. ์žฌ๋ถ€ํŒ…]

์• ํ”Œ ๊ฐœ๋ฐœ์ž ์‚ฌ์ดํŠธ์— ๋ฌผ์–ด๋ดค์„ ๋•Œ ์•Œ๋ ค์ค€ ๋ฐฉ๋ฒ•.

์•„์ดํฐ, ๋งฅ, Xcode ๊นŒ์ง€ ์žฌ๋ถ€ํŒ…ํ•ด๋ณด๊ธธ.

 

https://developer.apple.com/forums/thread/701294

 

Phone build "Unable to install APP… | Apple Developer Forums

I have an app I'm building in iPhone. But i have a problem. Please somebody help me~~~~ :( Xcode: 13.2.1Mac: 12.2.1iPhone: 15.3.1 Unable to install "SwiftSampleLY_embed" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620375 User Info: {   DVTErro

developer.apple.com

  1. Shut down Xcode.
  2. Unplug iOS device from computer.
  3. Reboot.
  4. Plug iOS device back in.
  5. Start Xcode.
  6. Clean project.
  7. Try again.

 


[๐ŸŒฑSolution 4. ์Šคํƒ์˜ค๋ฒ„ ํ”Œ๋กœ์šฐ์—์„œ ์ฐพ์•„๋ณด๊ธฐ]

์—ฌ๊ธฐ์„œ๋„ embed framework ํ™•์ธํ•˜๊ธฐ๋ฅผ ์š”๊ตฌํ•œ๋‹ค. ํ™•์ธ ๊ผญ ํ•ด๋ณด์‹œ๊ธธ~!!

https://stackoverflow.com/questions/58662457/xcode-11-2-unable-to-install-app-file-to-device

 

Xcode 11.2 - Unable to install App file to device?

I recently updated my OS to Catalina, and updated Xcode to 11.2. Since doing so, when I try to run a release version of my app on my device, I'm simply given the error: Unable to install the app.

stackoverflow.com

728x90
๋ฐ˜์‘ํ˜•