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

**URL:** <https://discourse.cmake.org/t/xcode-generator-doesnt-pass-field-frameworks-libraries-and-embedded-content-for-frameworks/13457>\
**Category:** Code\
**Created:** [January 22, 2025, 10:23am UTC](https://discourse.cmake.org/t/xcode-generator-doesnt-pass-field-frameworks-libraries-and-embedded-content-for-frameworks/13457 "2025-01-22T10:23:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ygrik2003](https://discourse.cmake.org/user_avatar/discourse.cmake.org/ygrik2003/32/5299_2.png) [@Ygrik2003](https://discourse.cmake.org/u/Ygrik2003)\
**Post date:** [January 22, 2025, 10:23am UTC](https://discourse.cmake.org/t/xcode-generator-doesnt-pass-field-frameworks-libraries-and-embedded-content-for-frameworks/13457/1 "2025-01-22T10:23:12Z")

</div>

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:

```cmake
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](https://forum.juce.com/t/ios-enabling-in-app-purchases-through-the-cmake-interface/45577/4)

What am I doing wrong or maybe its bug?

Xcode version 15.2 (15C500b)  
CMake version 3.31.4

---

<div class="post-metadata">

**Author:** ![Ygrik2003](https://discourse.cmake.org/user_avatar/discourse.cmake.org/ygrik2003/32/5299_2.png) [@Ygrik2003](https://discourse.cmake.org/u/Ygrik2003)\
**Post date:** [January 28, 2025, 7:34am UTC](https://discourse.cmake.org/t/xcode-generator-doesnt-pass-field-frameworks-libraries-and-embedded-content-for-frameworks/13457/2 "2025-01-28T07:34:46Z")

</div>

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