There are two types of image assets on Figma, and each one needs to be exported differently. After selecting an image, you can know what type it is by looking at the left sidebar.

Bitmap Assets

<aside> 👀 Photos, pictures, illustrations...

</aside>

After selecting the image, on the left sidebar, you can see that the image has a "picture" icon.

To export them, go to the "export" section on the right sidebar and click on the plus button three times. Make sure PNG is selected for the 3 exports and that the sizes are 1x, 2x, and 3x.

An image with a "picture" icon

An image with a "picture" icon

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/26bbaa75-9d2d-403e-aebc-7b7d0c6561c2/Captura_de_pantalla_2021-02-09_a_las_11.23.56.png

Then, drag it to the assets folder on Xcode and make sure you select:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/825185e7-564c-4e2a-8c61-f1e56ad98b79/Captura_de_pantalla_2021-02-09_a_las_11.42.10.png


Vector Assets

<aside> 👀 Icons, Shapes...

</aside>

After selecting the image, on the sidebar, you can see many "vector" objects: squares, ellipses, paths... Make sure to select the whole icon, not just a part of it.

<aside> ⚠️ Most times, designers add a small margin to the icon, as you can see in the image below. Make sure you include it.

</aside>

To export them, go to the "export" section on the right sidebar and click on the plus button once. Then you'll be able to select the format you want.

Make sure to select the whole icon, not just a part.

Make sure to select the whole icon, not just a part.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3a5b2b6e-c332-4622-8778-a3ae93aa3cb8/Captura_de_pantalla_2021-02-09_a_las_11.20.37.png

Then, drag it to the assets folder on Xcode and make sure you select: