Skip to content

Platform projects

Add native targets to an application:

Terminal window
carbon platform add desktop
carbon platform add android
carbon platform add ios

Generated shells live under .carbon/platforms/<platform>. List their state with:

Terminal window
carbon platform list

After changing identity, mobile SDK versions, device permissions, icons, or native metadata, sync the platform files:

Terminal window
carbon platform sync android
carbon platform sync ios

Carbon stores hashes for managed files. A sync updates files that still match their previous generated content and preserves files you edited manually. Review the reported drift, then use --force only when replacing local changes is intentional.

The desktop target records metadata but does not need a separate shell: src-carbon and DotCarbon.Host.Desktop are the native desktop host.