Xcode · App Store Connect

Price your app in 175 countries from Xcode

Tell Xcode your US price and a strategy. MetaRun's pricing engine computes a price for every storefront, snaps each one to Apple's real price points, and stages the whole schedule as one preview you can read before Apple sees it.

01 · Uplink

Connect Xcode once

01 · Add the MetaRun plug-in

In Xcode 27, open Settings, Intelligence, Plug-ins. Choose Add Plug-in, then Add from URL, and paste:

https://github.com/metarun/metarun-skills

02 · Or with one click

Opens Xcode's plug-in sheet with the repository filled in.

xcode://agent-plugin-clone?repo=https%3A%2F%2Fgithub.com%2Fmetarun%2Fmetarun-skills

03 · Sign in

Install MetaRun from the list, then click Sign in next to it. MetaRun opens in your browser; pick read-only or read and change.

04 · Ask the coding assistant

Claude Agent, Codex and Gemini in Xcode all get MetaRun's tools and its six workflow skills.

Attach build 312 to version 2.4 and tell me what blocks submission.
02 · Briefing

What Xcode handles here

Apple converts your base price into every currency at roughly the exchange rate. $9.99 in the US becomes the equivalent of $9.99 in India, Brazil and Egypt, where it's a very different amount of money. Fixing that by hand means 175 dropdowns, each with its own list of allowed prices.

MetaRun computes the prices with purchasing power parity from World Bank data, the Big Mac index, the Spotify index or a straight conversion, rounds them to charm prices, and resolves each to an actual Apple price point. Xcode gets the full table and stages it.

03 · Preflight

Before you start

  • A base price and the storefront it's anchored to (usually the US).
  • A strategy: PPP, Big Mac, Spotify, or straight conversion.
  • For subscriptions: whether current subscribers keep their price.
04 · Execution

How it runs

  1. 01

    Pick a base and a strategy

    Xcode asks for the anchor price and storefront, and the strategy: PPP, Big Mac, Spotify, or direct conversion.

  2. 02

    Compute the table

    pricing_compute_prices returns a row per storefront: the computed price, the Apple price point it snapped to, and the change from today.

  3. 03

    Stage the schedule

    The computed input feeds the preview tool directly. A full reprice of every storefront previews in seconds because exact prices resolve from Apple's tier catalog.

  4. 04

    Apply on approval

    One apply replaces the schedule. The change is recorded, and the old schedule can be restored from history.

05 · Session

An example session in Xcode

Before 2.4 launches, reprice the Pro subscription with PPP from $39.99 a year.

  1. apple_get_app_pricingBase price $4.99 in the US; Apple's equalized prices everywhere else.
  2. pricing_compute_pricesA PPP price for each storefront, snapped to Apple's price points, with the change from today.
  3. apple_preview_set_territory_pricesPreview: the new schedule, every storefront's old and new price side by side.
  4. Xcode asks before running apple_apply_set_territory_prices. You read the preview above and approve.
  5. apple_apply_set_territory_pricesSchedule replaced. The old one is in history for a revert.

Illustrative: your apps, versions and numbers will differ. The tool names and their order are real.

06 · Tools

The MetaRun tools Xcode calls

ToolWhat it does
pricing_get_indexesreadPPP, Big Mac, Spotify and VAT reference values per country.
pricing_compute_pricesreadRuns the strategy and returns a staged input ready for the matching preview tool.
pricing_get_exchange_ratesreadLive USD exchange rates used in the math.
apple_get_app_pricingreadThe app's current price schedule.
apple_find_price_pointsreadApple's allowed prices for a storefront near a target.
apple_preview_set_territory_pricespreview + applyStage a full per-territory schedule for the app.
apple_preview_set_iap_pricepreview + applyThe same for an in-app purchase.
apple_preview_set_subscription_pricepreview + applyThe same for a subscription, with an option to keep current subscribers on their price.

Each preview has an apply twin (the same name with apply instead of preview) that only runs with the confirm token from a fresh preview, and refuses if App Store Connect changed in between. MetaRun tools save to your MetaRun workspace only (studio projects, tracked keywords), never to Apple.

07 · Apple rules

What Apple enforces, and how MetaRun handles it

Every storefront has its own price ladder

Apple only accepts specific price points per territory. MetaRun snaps each computed price to a real point and shows where it moved.

One future price per territory

Apple allows a single scheduled price change per territory on a subscription. A bulk reprice skips territories that already have one and names the pending price and date.

Approved subscriptions start tomorrow

Once a subscription is approved, Apple won't create a new price row starting today. MetaRun schedules the earliest allowed date (tomorrow, UTC) and says so in the preview.

PPP needs a guard for inflation

In hyperinflation economies the PPP factor can sit above the market rate and push prices up. The engine caps the multiplier for those countries so the result stays affordable.

08 · Comms

What to ask Xcode

  • Ask Xcode: Before 2.4 launches, reprice the Pro subscription with PPP from $39.99 a year.
  • Ask Xcode: Show me what India, Brazil and Turkey would pay under each strategy.
  • Ask Xcode: Apply the PPP schedule I approved.
09 · Safety

How Xcode asks before a change

Xcode asks before an agent uses a tool it hasn't been allowed. Tools you've allowed are listed in Settings, Intelligence, under Permissions, where you can remove them. Leave MetaRun's apply tools off that list so every App Store change asks first; reads and previews are safe to allow.

Apple key stays on MetaRun, encryptedPreview before every writeRecorded, revertible from history
10 · FAQ

Frequently asked questions

Which pricing strategies can Xcode use?

Purchasing power parity from World Bank data, the Big Mac index, the Spotify Premium index, direct conversion, or custom multipliers, with charm or whole-number rounding and optional VAT handling.

Will existing subscribers get a price increase?

Only if you choose that. apple_preview_set_subscription_price takes preserveCurrentPrice, which keeps current subscribers on their price while new ones pay the new one.

Can I try the math without connecting anything?

Yes. The free App Store pricing calculator on metarun.dev runs the same engine on any price, no account needed.

How long does a 175-storefront reprice take?

The preview resolves in seconds for exact prices, because MetaRun builds the price point ids from Apple's tier catalog instead of searching each territory.

How do I connect Xcode to App Store Connect?

In Xcode 27, add the plug-in from https://github.com/metarun/metarun-skills (Settings, Intelligence, Plug-ins, Add from URL) and click Sign in next to MetaRun. After that, ask for "price by country" in plain words and Xcode picks the MetaRun tools.

Does Xcode see my App Store Connect key?

No. Your App Store Connect API key stays envelope-encrypted on MetaRun's servers and is decrypted per request. Xcode holds a MetaRun token that you can revoke in Settings at any time.

More with Xcode

In depth: Bulk App Store pricing

Agent access

14-day free trial with agent access. No credit card. Your Apple key stays encrypted on MetaRun.