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

์ „์ฒด ๊ธ€

(102)
[iOS] URL Scheme ์‚ฌ์šฉํ•˜์—ฌ ๋‹ค๋ฅธ ์•ฑ๊ณผ ํ†ต์‹ ํ•˜๊ธฐ URL Scheme๋กœ ๋‹ค๋ฅธ ์•ฑ๊ณผ ํ†ต์‹ ํ•ด๋ณด์ž iOS์—์„œ๋Š” URL Scheme์„ ํ†ตํ•ด ๋‹ค๋ฅธ ์•ฑ๊ณผ ํ†ต์‹ ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค! URL Scheme์„ ํ†ตํ•ด ๋‹ค๋ฅธ ์•ฑ์˜ ์‹คํ–‰์„ ์š”์ฒญํ•˜๊ฑฐ๋‚˜ ๊ฐ„๋‹จํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ์ „ํ™”ํ•˜๊ณ  ์‹ถ์€ ๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋ฐ”๋กœ ์ „ํ™” ์–ดํ”Œ๋กœ ์—ฐ๊ฒฐ๋˜์–ด ์ „ํ™”๋ฅผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. *์‹ค์ œ ๊ธฐ๊ธฐ๋กœ ํ…Œ์ŠคํŠธ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ์—์„œ๋Š” sms๋งŒ ๊ฐ€๋Šฅ! ๐Ÿ”ฅ iOS Built-in URL Scheme iOS๋Š” ๊ธฐ๋ณธ์œผ๋กœ ์„ค์น˜๋œ ๋ฉ”์ผ, ์ „ํ™”, ๋ฉ”์‹œ์ง€ ์ง€๋„ ์•ฑ๊ณผ ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋Š” ๋‚ด์žฅ URL Scheme์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ์ •๋ณด์™€ ์‚ฌ์šฉ๋ฒ•์€ ์•„๋ž˜ ์‚ฌ์ดํŠธ์—์„œ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๐Ÿ˜Š About Apple URL Schemes About Apple URL Schemes This document describes..
[Xcode] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: [name length] > 0' ์—๋Ÿฌ ํ•ด๊ฒฐํ•˜๊ธฐ, ์Šคํ† ๋ฆฌ๋ณด๋“œ ์‚ญ์ œ ์—๋Ÿฌ ํ•ด๊ฒฐ ๐Ÿ’ก ์—๋Ÿฌ ๋‚ด์šฉ : Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: [name length] > 0' ๐Ÿ’ก ์›์ธ : ์Šคํ† ๋ฆฌ๋ณด๋“œ ์ง€์šฐ๊ณ  ๊ฐœ๋ฐœํ•˜๊ธฐ ์œ„ํ•ด, Info.plist ์—์„œ Storyboard Name ๊ฐ’์„ ์‚ญ์ œํ•œ ๊ฒฝ์šฐ!! ๐Ÿ’ก ํ•ด๊ฒฐ: ๊ฐ’์ด ์•„๋‹Œ ํ–‰ ์ž์ฒด๋ฅผ ์‚ญ์ œํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค!!๐Ÿ‘๐Ÿป
[Xcode] iOS ๋ฒ„์ „๋ณ„ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ ์„ค์น˜ ๋ฐ ์ถ”๊ฐ€ํ•˜๊ธฐ Xcode ์„ค์น˜ ์‹œ ๊ธฐ๋ณธ์ ์œผ๋กœ ์ตœ์‹  iOS ๋ฒ„์ „์œผ๋กœ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๊ฐ€ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ์ „ ๋ฒ„์ „ ๋“ฑ ๋‹ค๋ฅธ ๋ฒ„์ „์˜ iOS๋กœ ํ…Œ์ŠคํŠธํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ iOS ๋ฒ„์ „๋ณ„ ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ ์„ค์น˜ ๋ฐ ์ถ”๊ฐ€ํ•˜๋Š” ๋ฒ•์„ ์•Œ๋ ค๋“œ๋ฆฝ๋‹ˆ๋‹ค. ๐Ÿ’ก ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ iOS ๋ฒ„์ „๋ณ„ ์„ค์น˜ 1. Xcode > Preferences 2. Components ๋ฉ”๋‰ด์—์„œ ํ•„์š”ํ•œ iOS ๋ฒ„์ „์˜ ๋‹ค์šด๋กœ๋“œ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋‹ค์šด๋กœ๋“œ๊ฐ€ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค. ๋‹ค์šด๋กœ๋“œ๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด ํŒŒ๋ž€์ƒ‰ ์ฒดํฌ๋ฐ•์Šค๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ๐Ÿ’ก ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ iOS ๋ฒ„์ „ ์ˆ˜์ • 1. Window > Devices and Simulators 2. ์ขŒ์ธก ํ•˜๋‹จ์˜ + ๋ฒ„ํŠผ์„ ํด๋ฆญ 3. ๋‹ค์šด ๋ฐ›์€ iOS ๋ฒ„์ „์œผ๋กœ ์ƒˆ๋กœ์šด ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ํด๋ฆญํ•ด์ค๋‹ˆ๋‹ค. ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ ์ด๋ฆ„, Device Type๊ณผ ํ•จ๊ป˜ ๋‹ค์šด๋กœ๋“œํ•œ iOS ๋ฒ„์ „์œผ๋กœ ์„ค์ • ํ›„..
[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์˜ ๊ฒฝ๋กœ๋ฅผ ํ˜„์žฌ ๊ฒฝ๋กœ์— ๋งž๊ฒŒ ์ˆ˜์ •ํ•˜๋ฉด ํ•ด๊ฒฐ!!!๐Ÿ˜Š
[DB ๋ชจ๋ธ๋ง/์„ค๊ณ„] Metadata(๋ฉ”ํƒ€๋ฐ์ดํ„ฐ) ๋ž€? ๐Ÿ’ก Metadata(๋ฉ”ํƒ€๋ฐ์ดํ„ฐ) ๋ž€? ์ƒ์„ฑ๋˜๋Š” ์ •๋ณด์˜ ์–‘์ด ๋„ˆ๋ฌด ๋งŽ์€ ์š”์ฆ˜, ํ•„์š”ํ•œ ์ •๋ณด๋ฅผ ํŒ๋ณ„ํ•˜๋Š” ๊ฒŒ ์ค‘์š”ํ•˜๋‹ค. ๋Œ€์šฉ๋Ÿ‰ ๋ฐ์ดํ„ฐ ์‹œ๋Œ€์—์„œ ์ •๋ณด๋ฅผ ํšจ๊ณผ์ ์œผ๋กœ ์ž…์ˆ˜, ์กฐ์ง, ๊ด€๋ฆฌํ•˜๊ธฐ ์œ„ํ•ด ์ƒ๊ฒจ๋‚œ Metadata(๋ฉ”ํƒ€๋ฐ์ดํ„ฐ)์— ๋Œ€ํ•ด ์•Œ์•„๋ณด์ž. โœ”๏ธ Meta + Data Meta๋Š” ์˜์–ด์—์„œ ์ ‘๋‘์‚ฌ๋กœ ์“ฐ์ด๋ฉฐ ~์— ๋Œ€ํ•ด์„œ๋ผ๋Š” ๋œป์œผ๋กœ ์“ฐ์ธ๋‹ค. Data์™€ ํ•ฉ์ณ์ง„ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋Š” ์ง์—ญํ•˜๋ฉด '๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ' ๋ผ๊ณ  ํ•  ์ˆ˜ ์žˆ๋‹ค. โœ”๏ธ '๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ๋ฅผ ์„ค๋ช…ํ•ด ์ฃผ๋Š” ๋ฐ์ดํ„ฐ' '์†์„ฑ์ •๋ณด'๋ผ๊ณ ๋„ ๋ถˆ๋ฆฌ๋Š” ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋Š” '๋ฐ์ดํ„ฐ์— ๊ด€ํ•œ ๊ตฌ์กฐํ™”๋œ ๋ฐ์ดํ„ฐ', '๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ๋ฅผ ์„ค๋ช…ํ•ด ์ฃผ๋Š” ๋ฐ์ดํ„ฐ'์ด๋‹ค. ์‰ฝ๊ฒŒ ์„ค๋ช…ํ•˜๋ฉด, Metadata(๋ฉ”ํƒ€๋ฐ์ดํ„ฐ)๋Š” ๋ฐ์ดํ„ฐ ํ•ญ๋ชฉ๊ณผ ๊ทธ์— ๋”ฐ๋ฅธ ๋ฐ์ดํ„ฐ ๊ฐ’์ด๋ผ๊ณ  ํ•  ์ˆ˜ ์žˆ๋‹ค. ๊ตฌ์กฐํ™”๋œ ์ •๋ณด๋ฅผ ๋ถ„์„, ๋ถ„๋ฅ˜ํ•˜๊ณ , ..
[Error, Xcode] Xcode 12.3์—์„œ Building for iOS Simulator, but the linked and embedded framework '*.framework' was built for iOS + iOS Simulator ํ•ด๊ฒฐํ•˜๊ธฐ Xcode 12.3์—์„œ์„œ Building for iOS Simulator, but the linked and embedded framework '*.framework' was built for iOS + iOS Simulator ์—๋Ÿฌ ๋ฐœ์ƒ์‹œ ํ•ด๊ฒฐํ•˜๊ธฐ [ERROR] Building for iOS Simulator, but the linked and embedded framework '*.framework' was built for iOS + iOS Simulator [Solution] Target > Build Settings > Validate Workspace > Yes๋กœ ๋ณ€๊ฒฝ ๊ด€๋ จ ๋งํฌ Building for iOS Simulator, but the linked framework '****.fram..
[iOS, Swift] ContainerView ๋งŒ๋“ค๊ธฐ, View๊ฐ„ ๋ฐ์ดํ„ฐ ์ „๋‹ฌํ•˜๊ธฐ - 1. prepare ๋ฉ”์†Œ๋“œ, 2.Children, parent ํ”„๋กœํผํ‹ฐ ์‚ฌ์šฉ ์ปจํ…Œ์ด๋„ˆ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ(Container View Controller)์— ๋Œ€ํ•ด ์•Œ์•„๋ณด์ž ์ฝ˜ํ…์ธ  ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ๋Š” ์ด๋ฏธ์ง€๋‚˜ ํ…์ŠคํŠธ, HTML ํŽ˜์ด์ง€ ๋“ฑ ์•ฑ์˜ ํ™”๋ฉด์— ํ‘œํ˜„ํ•  ์ฝ˜ํ…์ธ ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ์ปจํŠธ๋กค๋Ÿฌ์ž…๋‹ˆ๋‹ค. ์ด๋ฅผ ์œ„ํ•ด ์ฝ˜ํ…์ธ  ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ๋Š” ํ™”๋ฉด ์ „์ฒด ์‚ฌ์ด์ฆˆ์˜ ๋ฃจํŠธ ๋ทฐ๋ฅผ ๋‚ด์žฅํ•˜๊ณ  ์žˆ์œผ๋ฉฐ, ์ด ๋ทฐ ์œ„์— ๊ฐ์ข… ์ฝ˜ํ…์ธ ๋ฅผ ์–น์–ด ํ™”๋ฉด์— ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค. iOS๋Š” ํ™”๋ฉด์˜ ์ œ์•ฝ์œผ๋กœ ์ธํ•ด ๊ธฐ๋ณธ์ ์œผ๋กœ ํ•œ ํ™”๋ฉด์— ํ•˜๋‚˜์˜ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ๋งŒ ํ‘œ์‹œํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์—, ๋‚˜๋จธ์ง€ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ์— ์ ‘๊ทผํ•˜๋Š” ํšจ์œจ์ ์ธ ์ˆ˜๋‹จ์„ ์ œ๊ณตํ•˜๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ์œ„ํ•ด ์ปจํ…Œ์ด๋„ˆ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ๋Š” ํ•˜๋‚˜์˜ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ์—์„œ ๋‹ค๋ฅธ ๋ทฐ ์ปจํŠธ๋กค๋Ÿฌ๋กœ ์‰ฝ๊ณ  ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ์ด์–ด์ง€๋„๋ก ๋‹ค์–‘ํ•œ ์ˆ˜๋‹จ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. Apple Developer Documentation developer.appl..
[Error, Xcode] Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service ~ was invalidated: ํ•ด๊ฒฐํ•˜๊ธฐ Xcode ์—๋Ÿฌ Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service ~ was invalidated: ํ•ด๊ฒฐํ•˜๊ธฐ! [ERROR] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to se..

๋ฐ˜์‘ํ˜•