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.
Setup checked October 2026 against Apple: extending and customizing agents, giving external agents access to Xcode
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-skills02 · 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-skills03 · 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.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.
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.
How it runs
- 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.
- 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.
- 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.
- 04
Apply on approval
One apply replaces the schedule. The change is recorded, and the old schedule can be restored from history.
An example session in Xcode
Before 2.4 launches, reprice the Pro subscription with PPP from $39.99 a year.
- apple_get_app_pricingBase price $4.99 in the US; Apple's equalized prices everywhere else.
- pricing_compute_pricesA PPP price for each storefront, snapped to Apple's price points, with the change from today.
- apple_preview_set_territory_pricesPreview: the new schedule, every storefront's old and new price side by side.
- Xcode asks before running apple_apply_set_territory_prices. You read the preview above and approve.
- 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.
The MetaRun tools Xcode calls
| Tool | What it does |
|---|---|
| pricing_get_indexesread | PPP, Big Mac, Spotify and VAT reference values per country. |
| pricing_compute_pricesread | Runs the strategy and returns a staged input ready for the matching preview tool. |
| pricing_get_exchange_ratesread | Live USD exchange rates used in the math. |
| apple_get_app_pricingread | The app's current price schedule. |
| apple_find_price_pointsread | Apple's allowed prices for a storefront near a target. |
| apple_preview_set_territory_pricespreview + apply | Stage a full per-territory schedule for the app. |
| apple_preview_set_iap_pricepreview + apply | The same for an in-app purchase. |
| apple_preview_set_subscription_pricepreview + apply | The 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.
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.
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.
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.
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
Xcode
Subscriptions and IAPs
Create subscription groups, subscriptions and in-app purchases with copy and prices.
OpenXcode
Offers and offer codes
Free trials, promotional offers, offer codes and win-back offers, set up by asking.
OpenXcode
Localize your listing
Name, subtitle, keywords and description in every App Store language, limits checked.
OpenXcode
ASO keywords
Find keywords from App Store autocomplete, track ranks, and lint your metadata.
OpenPrice by country with another agent
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.