Skip to main content
On this page

Edit Info.plist, app icons and localizations in VS Code

Info.plist, assets and app icons, icon documents, localized strings and project settings.

Last updated

Edit Info.plist, app icons and localizations in VS Code with visual editors. Double-click Info.plist in the Explorer and KXApp opens it in the same Key / Type / Value table as Xcode, and what gets saved is still the original file format, exactly what Xcode opens. Assets and app icons, Icon Composer documents, localized strings and project settings each have a visual editor too; the table below maps files to editors. To see the raw file, right-click it and choose Open as Text, or switch from the editor title bar.

FilesEditor
Info.plist, .entitlements, .xcprivacy, .plist, .mobileprovisionProperty list
.xcassetsAsset catalog
.iconIcon document
.xcstrings, .strings / .stringsdict in .lproj foldersLocalization
project.pbxprojProject settings

How do I edit Info.plist and entitlements in VS Code?

The same Key / Type / Value table as Xcode. Right-click a row to add a row or child, delete it or copy its key path; click the Type column to switch the type from a drop-down. Provisioning profiles (.mobileprovision) open read-only with their certificates, devices and entitlements.

Property list editor

Files keep their original format (XML or binary) by default; the "Plist Save Format" command switches it. Sorting keys on save, the Root row and row spacing are controlled by kxapp.plist.sortKeysOnSave, kxapp.plist.showRootRow and kxapp.plist.spacing.

How do I make every app icon size from one image?

Double-click a .xcassets folder to open the asset catalog editor. The entry tree is on the left and the selected entry on the right. Create app icons, image sets, color sets, data sets, symbol image sets and folders, and drop images into their slots.

Asset catalog editor
  • App icons: "Fill All Sizes from 1024×1024 Image…" fills every slot at once; older multi-size icons convert to a single-size icon; visionOS and tvOS icons and top shelf images are supported.
  • Set App Icon from Image…: right-click a target in the Xcode Project view, pick an image, and the icon is generated and wired up to the target.
  • Compile-check: check the catalog before you ship to catch missing icon sizes or wrong image formats early.
  • A new asset catalog is added to the target's resources phase, no trip to Xcode needed.

How do I edit Icon Composer documents?

Icon Composer .icon documents: edit groups, layers and fills, and import image assets. Previews match Xcode, in the default, dark and tinted appearances.

Icon document editor

How do I localize an iOS app with String Catalogs?

String catalogs (.xcstrings) and classic .strings / .stringsdict files are edited in one table, with translation progress for each language.

  • Add Language… also registers the language with the project, as Xcode does.
  • Sync Strings with Source Code scans your source for localization calls and adds new keys. List custom localization macros in kxapp.l10n.extraMacros.
  • Vary by plural or device, substitutions, mark as needs review / reviewed, and mark as don't translate.
  • Changing source text marks existing translations as needing review, like Xcode (kxapp.l10n.markSourceEditsForReview).

How do I change project settings and build settings visually?

Open project.pbxproj, or right-click the project or a target in the Xcode Project view and choose Edit Project Settings / Edit Target Settings. There are General and Build Settings tabs.

Project settings editor
  • Build settings use Xcode's groups and names; enumerated values are picked from a menu.
  • The Levels view shows the target, project, xcconfig and default levels together with the resolved value.
  • Set values per configuration (Debug / Release) and add user-defined settings.
  • Saving changes only the settings you edited, so your commits show exactly what changed.
The Levels view of Build Settings

Changing project settings and adding assets or languages need the xcodeproj component. The extension offers a one-click install the first time, or run gem install --user-install xcodeproj yourself. As when you edit Info.plist in VS Code, files saved by these editors open in Xcode exactly as before; if saving fails, see common iOS build errors in VS Code.

Frequently asked questions

What size image do I need for app icons?

One 1024×1024 image is enough. Use "Fill All Sizes from 1024×1024 Image…" in the asset catalog and every icon slot is filled at once.

Are plists saved as XML or binary?

They keep their original format by default. Run the "Plist Save Format" command to switch a file; change the default in kxapp.plist.defaultSaveFormat, where preserve keeps the file's format.

Can I inspect a .mobileprovision profile?

Yes. Double-click it and it opens read-only, showing its certificates, devices and entitlements.

What happens to translations when I change the source text?

Existing translations are marked as needing review, as in Xcode. Turn off kxapp.l10n.markSourceEditsForReview if you don't want that.

Next steps