XCode generator doesn't pass field "Frameworks, Libraries, and Embedded Content" for Frameworks

Hello
As I noticed, the manual link to StoreKit in XCode in the “ProjectName → General → Frameworks, Libraries, and Embedded Content” tab adds the In-app-purchase property to Capabilities, which can also be added via XCode in the “ProjectName → General → Signing & Capabilities” tab.
But when I generate a CMake project, linking to StoreKit:

add_executable(test MACOSX_BUNDLE main.swift)
target_link_libraries(test PRIVATE "-framework StoreKit")

all compiling is OK, but if open XCode project, generated by XCode generator, i see, what in “Frameworks, Libraries, and Embedded Content” my linked framework doesn’t get into the section (with static libraries all good).

I couldn’t find the right way to add in-app-purchase.
I found the only mention of the problem here iOS: Enabling In-App Purchases through the CMake Interface - #4 by reuk - MacOSX and iOS - JUCE

What am I doing wrong or maybe its bug?

Xcode version 15.2 (15C500b)
CMake version 3.31.4

I tried XCode 16.2 (16C5032a), the problem remained