Skip to content
AppScend
← Rejection guide to the App Store Review Guidelines

Guideline 2.5.2: Self-contained apps

Apps stay inside their own container and may not download or run code that adds or changes features, apart from limited coding-education cases.

Part of Guideline 2.5: Software Requirements

Copies this guide as instructions for your coding agent (or read it as Markdown).
Usually a rejectionEstimate

The app may download and run code that changes features

What Apple wants

Code that adds or changes features has to ship inside the app, not arrive later from a server (Guideline 2.5.2). Changing the app after approval this way is the bait-and-switch Apple removes apps and terminates developer accounts for (Guideline 2.5.19); only HTML5 mini apps and plug-ins under Guideline 4.7 are allowed.

How to fix it

Ship feature code inside the app, and send data rather than code from the server.

Steps

  1. Move downloaded native code and scripts that change the app into the app bundle.
  2. Use over-the-air updates for fixes only, and if the server needs to change behavior, send configuration data, not code.
Usually a rejectionEstimate

The app may install apps from outside the App Store

What Apple wants

An App Store app can't be a way to install other apps or code outside the store (Guideline 2.5.2). Reviewers reject install links and sideloading guides.

How to fix it

Remove install links and sideloading instructions, and link to App Store pages instead.

Steps

  1. Remove itms-services and .ipa links and any sideloading instructions.
  2. Link to other apps through their App Store pages.
Delays reviewEstimate

The app may try to use files outside its own storage

What Apple wants

Apps must stay inside their own container and may not read or write data anywhere else (Guideline 2.5.2). iOS blocks it, so the feature fails, and reviewers flag the attempt.

How to fix it

Keep files in the app's own folders, or share them through an App Group.

Steps

  1. Replace hard-coded system paths with FileManager locations inside the app's container (Documents, Caches, Application Support).
  2. To share files with an extension, use an App Group container.

Check your app for this, and everything else reviewers flag

AppScend scans your project on your Mac, ranks what will get it rejected, and your own coding agent fixes it on a branch you review.

npx appscend