6

I was looking at the contents of my application and I found the file Assets.car in the resources folder of my application along with some nibs:

Assets.car file

My question is: What is this file and what does it have to do with the application? What kind of data does it contain?

jscs
  • 63,095
  • 13
  • 148
  • 192
ra1nmaster
  • 642
  • 1
  • 8
  • 20
  • I would assume that it is the `assets.catalog` https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/Recipe.html – Popeye Dec 25 '13 at 23:28
  • These days, the link to the above is at https://help.apple.com/xcode/mac/8.0/#/dev10510b1f7 – Gwyneth Llewelyn May 21 '21 at 23:24

2 Answers2

14

It is the "compiled" version of the assets catalog.

matt
  • 485,702
  • 82
  • 818
  • 1,064
0

Assets.car file

When you build a project all your non empty assets .xcassets which are added to Build Phases -> Copy Bundle Resources will be compiled into Assets.car file, which is generated by Xcode during building and set up by Build Settings -> Asset Catalog Compiler

[Open Assets.car]

yoAlex5
  • 21,739
  • 5
  • 148
  • 151