Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for writing car files #57

Open
dvc94ch opened this issue Dec 13, 2022 · 1 comment
Open

support for writing car files #57

dvc94ch opened this issue Dec 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@dvc94ch
Copy link
Collaborator

dvc94ch commented Dec 13, 2022

to upload an app to the appstore you need to add your icons to an asset bundle with .car extension. I'm currently using xcode to construct the Assets.car file, but this is only a temporary workaround.

@indygreg
Copy link
Owner

https://blog.timac.org/2018/1018-reverse-engineering-the-car-file-format/ seems like a useful reference. The author produced code at https://github.com/Timac/CARParser/.

I then did a search for various magic values in that post. I stumbled across https://github.com/facebookarchive/xcbuild/tree/dbaee552d2f13640773eb1ad3c79c0d2aca7229c/Libraries/libcar and https://github.com/Reflejo/pycar, and https://github.com/iineva/bom/blob/b998a3aac1c0e863cfc92fdfca74adf8931b831e/pkg/asset/decode.go as other implementations.

Haven't looked at them at all and don't know if they are comprehensive enough to do what we need.

I do know Facebook invested heavily in Linux based tooling for Apple platform development. It would not surprise me if Facebook was able to do application building + packaging purely from Linux. So I suspect that this archived Facebook repo is a trove of information that can bypass a lot of reversing work.

@indygreg indygreg added the enhancement New feature or request label Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants