Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the "Development Assets" feature introduced in Xcode 11 and how to use it?

When I examined settings of a target in Xcode 11.1 (accessed when clicking on a project in the Project navigator sidebar and then clicking on an executable target), I noticed a new expandable section called "Development Assets", which wasn't present in Xcode 10. I also can't find any documentation about it or mentions in release notes.

Development Assets section

Has anyone discovered yet what's the purpose of this section, what's the best use case for it, how to use it, and maybe some documentation written either by Apple or anyone in the community?

like image 288
Max Desiatov Avatar asked Oct 24 '19 13:10

Max Desiatov


1 Answers

It's a way of adding assets to your project that won't be delivered in production but will be available during development. This includes Asset catalogs and other resources. As mentioned these won't be added to the app bundle when the project is Archived.

See WWDC 2019 Mastering Xcode Previews.

like image 102
trojanfoe Avatar answered Oct 02 '22 02:10

trojanfoe