Edit Xcode Build Settings on Windows: Project Settings Editor
No need to open project.pbxproj. Change identity, deployment, signing and version on the General page, and view and edit Build Settings by Basic, Customized, All and by level, with resolved values shown live.
Last updated
To edit Xcode build settings on Windows, use the KXBuild project settings editor instead of changing project.pbxproj by hand. The General page covers the bundle ID, version, deployment target and signing. The Build Settings page shows every setting by level (target, project and xcconfig) with the resolved value updated as you type, and Ctrl+S writes back only the lines that changed.
How do I open the Xcode project settings editor?
| From | Action | Opens to |
|---|---|---|
| Command Palette | KXBuild: Project Settings… | Build Settings |
| Explorer | Right-click a .xcodeproj or .xcworkspace and choose KXBuild: Project Settings…, or double-click project.pbxproj | Build Settings |
| KXBuild view | Right-click a project row and choose KXBuild: Edit Project Settings, or a target row and choose KXBuild: Edit Target Settings | Build Settings for a project, General for a target |
| Back from text mode | KXBuild: Open with Project Settings Editor in the pbxproj editor's title bar | — |
From a .xcworkspace, you first pick one of its .xcodeproj files. In the left column, PROJECT holds the project-level settings and TARGETS lists one entry per target.
Where do I change the bundle ID, version and signing?
Each field maps to a build setting. Changing a field here changes that row in Build Settings.
| Section | Field | Build setting |
|---|---|---|
| Identity | Bundle Display Name | INFOPLIST_KEY_CFBundleDisplayName |
| Bundle Identifier | PRODUCT_BUNDLE_IDENTIFIER | |
| Product Name | PRODUCT_NAME | |
| Marketing Version | MARKETING_VERSION | |
| Current Project Version | CURRENT_PROJECT_VERSION | |
| Deployment Info | iOS Deployment Target | IPHONEOS_DEPLOYMENT_TARGET |
| Targeted Device Families | TARGETED_DEVICE_FAMILY | |
| Supported Platforms | SUPPORTED_PLATFORMS | |
| Supported Interface Orientations (iPhone / iPad) | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone / …_iPad | |
| Launch Screen Storyboard / Main Storyboard | INFOPLIST_KEY_UILaunchStoryboardName / INFOPLIST_KEY_UIMainStoryboardFile | |
| Signing | Code Signing Style, Automatic or Manual | CODE_SIGN_STYLE |
| Development Team | DEVELOPMENT_TEAM | |
| Code Signing Identity | CODE_SIGN_IDENTITY | |
| Provisioning Profile | PROVISIONING_PROFILE_SPECIFIER | |
| Code Signing Entitlements | CODE_SIGN_ENTITLEMENTS | |
| Build | Swift Language Version | SWIFT_VERSION |
| Info.plist File | INFOPLIST_FILE | |
| Generate Info.plist File | GENERATE_INFOPLIST_FILE | |
| App Icon Set Name | ASSETCATALOG_COMPILER_APPICON_NAME |
For how signing settings work with the keychain folder, see how to sign iOS apps on Windows. For bumping the version before submission, see publish to the App Store from Windows.
How do I view and edit Xcode build settings on Windows?
| Control | What it does |
|---|---|
| Basic / Customized / All | Show common settings, only the settings changed at this level, or everything. Basic is the default. |
| Combined / Levels | Combined shows resolved values. Levels splits them into five columns, Target, Target xcconfig, Project, Project xcconfig and Default, so you can see which level wins. |
| Search box | Filters by setting name or display title |
| Show setting names next to titles | Shows IPHONEOS_DEPLOYMENT_TARGET next to titles like "iOS Deployment Target" |
| Show one row per configuration (set Debug and Release separately) | Settings whose Debug and Release values differ get two rows. Identical ones stay on one row. |
| <Multiple values> / (inherited) | The first means the configurations have different values. The second means this level doesn't define the setting and inherits it from below. |
| Quick Help | The panel at the bottom shows the selected setting's type, allowed values, default and description |
Right-click a value cell for Add User-Defined Setting, Delete Setting (removes this level's definition so the value is inherited again), Copy Setting Name and Copy Value. List values take one item per line. Use $(inherited) to keep the values from lower levels. If a change has no effect, a higher level most likely overrides it: switch to the Levels view, see which column is in effect and edit that level.
How are changes saved to project.pbxproj?
As you edit, the Combined column and the General page show the resolved values right away. Ctrl+Z undoes. Ctrl+S writes project.pbxproj, touching only the lines that changed. If another tool changes the file while you have unsaved edits, you can reload from disk or keep your changes.
What can't the project settings editor change?
The editor only changes build settings and the Info.plist keys they map to. Edit a target's file list, build phases and dependencies in text mode. There's no visual editor for storyboards and xibs, so the General page only takes their file names. If the toolchain and extension versions don't match, the editor is read-only and asks you to update. Update and reopen it.
When you edit Xcode build settings on Windows day to day, use the General page for the bundle ID, version, deployment target and signing. For anything else, search the Build Settings page by setting name, then switch to the Levels view to see which level wins.
Next steps
Property List Editor
Edit Info.plist, .entitlements, .xcprivacy and .strings files as a table. Supports nine value types, adding children, copying key paths and converting between XML and binary. .mobileprovision files open read-only.
kxbuild command reference
Every kxbuild subcommand and option, including doctor, build, run, test, project, license, mcp and version.