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

๐ŸŽ iOS/Error Handling

(22)
[Error, Xcode] Missing package product <package name> [์—๋Ÿฌ๋‚ด์šฉ] Missing package product 'SnapKit' Missing package product [ํ•ด๊ฒฐ๋ฒ•1] File > Swift Packages > Reset Package Caches [ํ•ด๊ฒฐ๋ฒ•1] File > Swift Packages > Update to Latest Package Versions https://stackoverflow.com/questions/60952549/xcode-11-4-compile-error-missing-package-product-package-name Xcode 11.4 compile error 'Missing package product ' When I integrate a local package in my Xcode project ever..
[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 ..
[Error, Xcode] Invalid Pre-Release Train. The train version '0.3' is closed for new build submissions ์—๋Ÿฌ ํ•ด๊ฒฐ ๐Ÿ‘ฟXcode์—์„œ Archives์—์„œ distiribution์‹œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ [์—๋Ÿฌ ๋‚ด์šฉ] iTunes Store Operation Failed ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '0.3' is closed for new build submissions" [Solution] ์•ฑ ์Šคํ† ์–ด์— ์ƒˆ ๋ฒ„์ „์„ ์ถœ์‹œํ•  ๋•Œ๋Š” Version์ด ๋ฐ˜๋“œ์‹œ ์˜ฌ๋ผ๊ฐ€์•ผ ํ•จ!! Target > General > Identity > Version ์ˆ˜์ • ๊ธฐ์กด ๋ฒ„์ „์ด 1.6.1์ด๋ฉด 1.6.2 ๋ฒ„์ „์œผ๋กœ ์˜ฌ๋ ค์ค๋‹ˆ๋‹ค.
[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 ..
[Error, Xcode] App Store Connect Operation ErrorERROR ITMS-90087: "Unsupported Architectures. The executable for .framework contains unsupported architectures '[x86_64, i386]'." ์—๋Ÿฌ ํ•ด๊ฒฐ๋ฒ• [ERROR] App Store Connect Operation Error ERROR ITMS-90087: "Unsupported Architectures. The executable for .framework contains unsupported architectures '[x86_64, i386]'." ์™ธ๋ถ€ SDK๋ฅผ ํ”„๋กœ์ ํŠธ์— import ํ•ด์„œ ๊ฐœ๋ฐœํ•œ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ์ž…๋‹ˆ๋‹ค. debug๋ชจ๋“œ์—์„œ๋Š” ๋นŒ๋“œ์— ๋ฌธ์ œ๊ฐ€ ์—†๊ณ  archive์—์„œ๋„ ๋ฌธ์ œ๊ฐ€ ์•ˆ๋˜๋Š”๋ฐ ๋งˆ์ง€๋ง‰ distributionํ•  ๋•Œ ๋ฐœ์ƒํ–ˆ์–ด์š”.^_^ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์ด ๋ฐ”๋กœ ์žˆ์–ด์„œ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค ํœด๐Ÿ˜Š ์ฐธ๊ณ  ๋งํฌ >> https://stackoverflow.com/questions/42641806/check-and-remove-unsupported-archi..
[Error, Xcode] Build fails with "Command PrecompileSwiftBridgingHeader failed with a nonzero exit code" ํ•ด๊ฒฐ๋ฒ• [ERROR] Build fails with "Command PrecompileSwiftBridgingHeader failed with a nonzero exit code" [SOLUTION] TargetName-Bridging-Header.h ๊ฒฝ๋กœ๊ฐ€ ์ž˜๋ชป๋˜์„œ ์ƒ๊ธด์—๋Ÿฌ ์•„๋ž˜ ๊ฒฝ๋กœ๋กœ ๋“ค์–ด๊ฐ€์„œ ๊ฒฝ๋กœ ์ฒดํฌ!!! Target -> Built Settings -> Objective-C Bridging Header
[Error, Xcode] Run custom shell script 'Run Script' - Command PhaseScriptExecution failed with a nonzero exit code ํ•ด๊ฒฐ๋ฒ• ๐Ÿ’ก ERROR [์—๋Ÿฌ๋‚ด์šฉ] Run custom shell script 'Run Script' Command PhaseScriptExecution failed with a nonzero exit code ๐Ÿ’ก ํ•ด๊ฒฐ๋ฐฉ๋ฒ• Targets -> Build Phases -> Run Script For install builds only ์ฒดํฌํ•˜๊ธฐ!!! >> the script only runs when do Product Archive.
[Error, Xcode] Info.plist ๊ฒฝ๋กœ ์ด๋™์‹œ info.plist cannot be found ํ•ด๊ฒฐํ•˜๊ธฐ Info.plist ๊ฒฝ๋กœ ์ด๋™์‹œ ์—๋Ÿฌ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค. info.plist cannot be found ํ•ด๊ฒฐํ•˜๊ธฐ info.plist ๊ฒฝ๋กœ๋ฅผ ์ฐพ์ง€ ๋ชปํ•˜์—ฌ ์ปดํŒŒ์ผ์ด ์—๋Ÿฌ ๋‚˜๋Š” ๊ฒฝ์šฐ 'build input file cannot be found' ์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜๋Š”๋ฐ, ํ•ด๋‹น ํ”„๋กœ์ ํŠธ์˜ TARGETS > Build Settings > Packaging > Info.plist File ๊ฐ’์ธ info.plist์˜ ๊ฒฝ๋กœ๋ฅผ ํ˜„์žฌ ๊ฒฝ๋กœ์— ๋งž๊ฒŒ ์ˆ˜์ •ํ•˜๋ฉด ํ•ด๊ฒฐ!!!๐Ÿ˜Š

๋ฐ˜์‘ํ˜•