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

๐ŸŽ iOS/iOS Application

[iOS] ์•ฑ์•„์ด์ฝ˜(App Icon) ์„ค์ •ํ•˜๊ธฐ

1.  ์•„์ด์ฝ˜ ์ด๋ฏธ์ง€ ์ค€๋น„ํ•˜๊ธฐ - ์‚ฌ์ด์ฆˆ ๋ณ„๋กœ ์ค€๋น„ํ•˜๋Š” ๋ฐฉ๋ฒ•

์›ํ•˜๋Š” ์•„์ด์ฝ˜ ์ด๋ฏธ์ง€๋ฅผ ์ค€๋น„ํ–ˆ๋‹ค๋ฉด, ์•„๋ž˜ ์‚ฌ์ดํŠธ์— ๋“ค์–ด๊ฐ€ ๋ฆฌ์‚ฌ์ด์ง•ํ•ด์ค๋‹ˆ๋‹ค.

 

App Icon Generator

 

appicon.co

์‚ฌ์ดํŠธ์— ๋“œ๋ž˜๊ทธํ•ด์„œ ์ด๋ฏธ์ง€๋ฅผ ๋„ฃ๊ณ  ์•„๋ž˜ Generate ๋ฒ„ํŠผ ํด๋ฆญ!!

2. Assets ์„ค์ •

Generate ํด๋ฆญ ์‹œ ๋ฐ”๋กœ AppIcons.zip ํŒŒ์ผ์ด ๋‹ค์šด๋ฉ๋‹ˆ๋‹ค.

zip ํŒŒ์ผ์„ ์—ด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด AppIcon.appiconset ์ด๋ž€ ํด๋” ์•ˆ์— ์‚ฌ์ด์ฆˆ ๋ณ„๋กœ ์ด๋ฏธ์ง€๋“ค์ด ๋“ค์–ด์žˆ์–ด์š”!

์ด ํด๋” '๊ทธ๋Œ€๋กœ' Xcode์˜ Assets.xacassets์— ๋“œ๋ž˜๊ทธํ•˜์—ฌ ๋„ฃ์–ด์ค๋‹ˆ๋‹ค!!

๋“œ๋ž˜๊ทธ ์‹œ ํ™•์ธํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ œ๋Œ€๋กœ import ๋˜์–ด์žˆ์–ด์š”~~๐Ÿ‘๐Ÿป

๋นŒ๋“œํ•ด๋ณด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์•ฑ์•„์ด์ฝ˜์ด ์ž˜ ์ ์šฉ๋˜์–ด ์žˆ์Œ์„ ํ™•์ธ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ๐Ÿ˜Š


๐Ÿ’ก  ์•ฑ์•„์ด์ฝ˜ ์„ค์ • ํ›„ ๋ฐ˜์˜ ์•ˆ ๋˜๋Š” ๊ฒฝ์šฐ 

1. Build Settings ํ™•์ธ

TARGETS > Build Settings > Asset Catalog compiler - Options > Primary App Icon Set Name์ด

AppIcon์œผ๋กœ ๋˜์–ด์žˆ๋Š”์ง€ ํ™•์ธ

 

2. Build Settings์— "Asset Catalog compiler - Options"์ด ์—†๋Š” ๊ฒฝ์šฐ

์ด๊ฒƒ์€ ๋‚ด๊ฐ€ ํ•œ ์‹ค์ˆ˜,,, ใ„ทใ„ท

์•ฑ ์•„์ด์ฝ˜์ด ์„ค์ •ํ•ด๋„ ๋ฐ˜์˜์ด ์•ˆ๋˜์—ˆ๋‹ค... ๋‹ค๋ฅธ ํ”„๋กœ์ ํŠธ์—์„œ๋Š” ๋˜๋Š”๋ฐ... ๋‘ ํ”„๋กœ์ ํŠธ์˜ ์ฐจ์ด์ ์€  Build Settings์— "Asset Catalog compiler - Options"์˜ ์œ ๋ฌด์˜€๋‹ค.

๋ฐ˜์˜์ด ์•ˆ๋˜๋Š” ํ”„๋กœ์ ํŠธ์—์„œ๋Š” ์•„๋ฌด๋ฆฌ ์ฐพ์•„๋„ ์ € ์˜ต์…˜์ด ์—†์—ˆ๋‹ค.

์ง์ ‘ ์˜ต์…˜ ๋„ฃ๋Š” ๋ฐฉ๋ฒ•์„ ๊ตฌ๊ธ€๋งํ•ด๋ด๋„ ์•ˆ ๋‚˜์™€์„œ ์ง์ ‘ ํ”„๋กœ์ ํŠธ ๋‚ด์—์„œ ์ฐพ์•„๋ณด๋‹ค๊ฐ€ ๋ฐœ๊ฒฌ...!!!!

Assets.xcassets ํŒŒ์ผ์ด Target Membership ์ฒดํฌ๊ฐ€ ์•ˆ๋˜์žˆ๋˜ ๊ฒƒ!!!!!

์ฒดํฌํ•˜๋‹ˆ ๋ฐ”๋กœ ์˜ต์…˜์ด ์ƒ๊ฒจ์„œ ์„ค์ •ํ•ด์คฌ๋”๋‹ˆ ๋ฐ”๋กœ ๋ฐ˜์˜๋˜์—ˆ๋‹ค. Eww....๐Ÿ˜ญ

728x90
๋ฐ˜์‘ํ˜•