[SWIFT] Easy way to set iOS app icon

Icon settings

The app is complete! I forgot to set the icon! Have you ever been discouraged? In this article, I'd like to summarize how to set the app icon in an instant. ** It's a famous content, so I know that! If you think that, please do a browser back gently. ** **

Let's make an icon!

I won't write how to make an icon in this article, but I would like to introduce a recommended tool that I usually use. ** Only paid items, but forgive me ... **

Sketch I basically work with Sketch when making mockups, icons, logos, etc.

Adobe CC The famous Adobe Creative Cloud. I use Illustrator and Photoshop to work on difficult things in Sketch.

Then the main subject

At last, I would like to explain how to set the icon of the main subject application in an instant. First, write the icon of the created application to 1024 * 1024 png or jpg.

Please access this site and drag and drop the created photo to the following part. スクリーンショット 2020-10-09 13.42.39.png

Make sure that the platform (iPhone, iPad, etc.) supported by the app is checked, and press Generate to download and unzip the downloaded Zip.

After unzipping, check that the contents look like this.

スクリーンショット 2020-10-09 13.46.41.png

Actually set in the Xcode project

First, open your Xcode project, right-click on ʻAssets.xcassets from the list of files on the left and select Show in Finder`. It's safe to quit Xcode once at this point.

スクリーンショット 2020-10-09 13.48.17.png

Did you see a screen like this?

スクリーンショット 2020-10-09 13.49.35.png

If you see a screen like this, delete ʻAppIcon.appiconset along with the folder! (⌘ + Delete) If you can delete it, drag and drop ʻAppIcon.appiconset in ʻAssets.xcassets in the folder you downloaded earlier to ʻAssets.xcassets where the folder you just deleted was!

スクリーンショット 2020-10-09 13.54.42.png

Once you've done that, reopen your Xcode project and see if the icon is set!

that's all! Thank you for your hard work!

Recommended Posts

Easy way to set iOS app icon
[Rails] Easy way to check columns
Easy way to create JSP custom tags
Needed for iOS 14? How to set NSUserTrackingUsageDescription
Easy way to create an implementation of java.util.stream.Stream
[Swift] What to do if the app icon is set but not reflected
Super easy way to use enum with JSP
How to play YouTube videos directly on iOS app
Set RSpec to DRY
Easy to maintain FizzBuzz
[iOS] [Objective-C] How to update a widget from an Objective-C app
Easy way to check method / field list in Java REPL