Skip to content

Capabilities - In-App Purchase #1574

Closed

Description

@kpacholak

Hi!
I'm struggling with adding the "In-App Purchase" capability to the project file.
As far as I know it's not the feature we can add to .entitlements file.

<key>com.apple.developer.in-app-purchase</key>
<true/>

☝️ this doesn't work

I tried adding it to project.yml config file

capabilities:
   inAppPurchase: {}

☝️ also doesn't work

Any ideas?

Activity

  1. yonaskolb commented on Aug 6, 2025

    @yonaskolb
    Owner

    The best way to get answers for these questions is to temporarily remove the project from git ignore, stage the changes, and then do something in Xcode to see the diff (like add a capability).

    In this case it seems adding that capability just adds the Storekit framework, which you can add to your dependencies:

    targets:
        myapp:
            dependencies:
            - framework: StoreKit.framework

    Xcodegen doesn't have any capabilities abstractions like Xcode does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions