Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
CFBundleShortVersionString of an app extension must match that of its containing parent app
Xcode 15 does not show Version and Build settings for app extensions in Project > Targets > target > General any more. In Xcode 14 I have been manually changing those versions to keep them in sync (and avoid warnings or errors).
Moving the setting from target level to project level as suggested by Eskimo from Apple fixed the problem (and simplifies the workflow so that I do not need to manually keep the versions in sync).
How to move the settings?
Go to Project > main target > Build Settings. Enable "Levels".
Enter CURRENT_PROJECT_VERSION into Filter.
Edit the value for the project level (double click on the empty value in the project column).
Remove the value for the main target level (single click the value in the target column, press Delete key on keyboard).
Similarly for the MARKETING_VERSION. Enter it into Filter, enter the value for the project level, remove it from target level.
Then, for each app extension target (Project > an app extension target > Build Settings):
Remove the project level value for both settings.