WildCat's Blog

Xcode project: Enable the missing "Use iOS Bundle Identifier" for Catalyst targets

We have iOS projects created before Xcode 11.4 where Universal Purchase is available. As a result, the project may not have the Use iOS Bundle Identifier option for the Mac Catalyst target. This can lead to several issues. One key issue is that the Catalyst target contains an invalid Share Extension, which does not work at all. Another issue can be something like:

Mac catalyst embedded binary’s bundle identifier is not prefixed with the parent app’s bundle identifier.

There’s no obvious way to enable it.

After trying to search related configurations in project.pbxproj, I found a solution.

You can search for the keyword DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER and set it to NO. After that, Xcode will show the checkbox.