rea-reverse

iOS provisioning profile and IPA viewer

Drop a .mobileprovision, .provisionprofile, an .ipa, a zipped .app or .xcarchive, an Info.plist or an .entitlements file to see what it says: profile type, expiry, team, devices and certificates; the bundle id, privacy keys and frameworks of the app; and the entitlements the executable is actually signed with, checked against the profile.

Your profiles and builds never leave your browser. Files are read locally in a Web Worker that has no network access. An IPA is read through its ZIP directory: only the plists, the embedded profile and the executable's headers and signature are opened. How to verify this yourself

Open the tool on its own page (no ads, no analytics)

When an iOS build refuses to install, the error rarely says which part of the signing is wrong. “Unable to install”, “The executable was signed with invalid entitlements” (0xe8008016), “A valid provisioning profile for this executable was not found” (0xe8008015): each of these comes down to a handful of facts that live in two places, the provisioning profile and the code signature of the executable. On a Mac you would read them with:

security cms -D -i embedded.mobileprovision
codesign -d --entitlements :- Payload/MyApp.app

This page reads the same data from the file itself, in your browser, and puts the two side by side. It is meant for checking your own builds and profiles: why a build will not install on a test device, which profile an exported IPA actually contains, whether the push entitlement says development or production.

How to use

  1. Take the build or profile you want to check: an .ipa, a zipped .app or .xcarchive, or a .mobileprovision file (Xcode keeps downloaded profiles in ~/Library/MobileDevice/Provisioning Profiles/).
  2. Drop it onto the drop zone above, or press Choose a file. It is read in your browser and not uploaded.
  3. Read the Summary checks first (expiry, bundle id, entitlements, team, signing certificate), then the profile's type and devices, and the Entitlements in the code signature table, which puts each signed value next to what the profile allows.

Real example output

We dropped the IPA fixture from this site's test suite onto this page and copied what it displayed. Layout condensed (label and value on one line, the app and Info.plist sections left out); every value is verbatim. Days left are counted from the capture date, 2026-11-02.

Sample: test/ios/good.ipa in this site's repository: a synthetic IPA built by test/ios/build.sh with a throwaway OpenSSL CA. Team FIXTEAM123, the UDIDs and all certificates are made up; no real Apple profile is involved.

Summary
File type  IPA
File size  20.8 KB
OK The profile is valid until 2036-01-01 (3346 days left).
OK Bundle id com.example.fixture matches the profile's App ID FIXTEAM123.com.example.fixture.
OK Every entitlement the executable is signed with is allowed by the profile.
OK Team FIXTEAM123 matches the profile's team.
OK The signing certificate (Apple Development: Fixture Developer (FIXDEV0001)) is one of the profile's developer certificates.
OK Every app extension's bundle id starts with com.example.fixture.

Provisioning profile
Name          Fixture Dev Profile
Profile type  DEVELOPMENT lists devices and allows get-task-allow (debugger attach)
App ID (application-identifier)  FIXTEAM123.com.example.fixture
UUID          F7021ABE-0000-4000-8000-000000000001
Team          FIXTEAM123 Fixture Org
Platform      iOS
Expires       2036-01-01 00:00:00 UTC 3346 DAYS LEFT
Provisioned devices (3)
  00008110-000A1B2C3D4E5F01
  00008120-000A1B2C3D4E5F02
  0123456789abcdef0123456789abcdef01234567
Developer certificates (1)
  Apple Development: Fixture Developer (FIXDEV0001)  FIXTEAM123  AB:65:6E:F8:2E:D5:84:B2:7A:D2:03:4F:5E:39:27:35:75:82:9C:CD
…

Main executable and code signature
Architecture  Platform  Minimum OS      LC_ENCRYPTION_INFO
arm64         iOS       15.0, SDK 27.0  cryptid 0
arm64e        iOS       15.0, SDK 27.0  cryptid 0
…
Entitlements in the code signature
Key                                     Signed with                     Profile allows                  Status
application-identifier                  FIXTEAM123.com.example.fixture  FIXTEAM123.com.example.fixture  ALLOWED
aps-environment                         development                     development                     ALLOWED
com.apple.developer.associated-domains  applinks:example.test           *                               ALLOWED
com.apple.developer.team-identifier     FIXTEAM123                      FIXTEAM123                      ALLOWED
get-task-allow                          true                            true                            ALLOWED
keychain-access-groups                  FIXTEAM123.com.example.fixture  FIXTEAM123.* com.apple.token    ALLOWED

What you can drop here

  • Provisioning profiles: .mobileprovision (iOS, iPadOS, tvOS, watchOS, visionOS) and macOS .provisionprofile. Profiles are CMS SignedData wrapping an XML plist; both the definite-length encoding current profiles use and the BER indefinite-length form found in older ones and produced by openssl cms -stream are read. The XML that security cms -D prints works too.
  • Builds: an .ipa, a zipped .app (Finder’s “Compress”), or a zipped .xcarchive. Only the ZIP central directory is read up front; then just the app’s Info.plist, embedded.mobileprovision, PrivacyInfo.xcprivacy, each extension’s Info.plist, and the main executable. A multi-gigabyte IPA is not loaded into memory; ZIP64 archives are supported.
  • Single files: Info.plist in XML or binary (bplist00) form, an .entitlements file, a PrivacyInfo.xcprivacy, or a bare Mach-O executable (thin or universal) to list the entitlements in its signature.

What you get

The profile: name, App ID name, App ID (application-identifier, with the team prefix), UUID, team ID and name, platform, creation and expiry date with days left, whether Xcode manages it, the full Entitlements dictionary, the list of provisioned device UDIDs with a search box, the developer certificates (common name, team from the OU field, SHA-1, validity) and the certificates of the CMS signer.

The profile type is not stored in the file. It is derived the way Xcode and fastlane label profiles:

Profile contains Type
ProvisionsAllDevices = true Enterprise (In-House); on macOS, Developer ID
ProvisionedDevices and get-task-allow = true Development
ProvisionedDevices, get-task-allow = false Ad Hoc
neither App Store (Mac App Store on macOS)

The app: bundle id, version and build, minimum OS, SDK and Xcode version, device family, supported platforms, URL schemes, required device capabilities, App Transport Security settings, every NS…UsageDescription with its text, the privacy manifest (tracking flag, tracking domains, collected data types, and each required-reason API category with its reason codes such as CA92.1), embedded frameworks and dylibs (with a flag for those that ship their own privacy manifest) and app extensions with their bundle ids and extension points.

The executable: architecture slices (arm64, arm64e, …) with platform and minimum OS from LC_BUILD_VERSION, the cryptid of LC_ENCRYPTION_INFO_64 (1 means an App Store download, whose code is encrypted), the signing identifier and team from the CodeDirectory, whether the signature is ad hoc, the signing certificate, and the entitlements from both blobs of the code signature: the XML plist (slot 5) and the DER form (slot 7) that iOS 15 and later evaluate. If the two disagree, the page says so.

The checks

With a build that contains its profile, the page runs the checks behind the usual install failures:

  • Expiry: an expired profile, or one that expires within 30 days.
  • Bundle id: CFBundleIdentifier must match the profile’s App ID after the team prefix, where * is a wildcard (TEAMID.com.example.*).
  • Entitlements: every entitlement the executable is signed with must be allowed by the profile. Strings and arrays may use the profile’s wildcards (TEAMID.* for keychain groups, * for associated domains); get-task-allow true in an App Store or Ad Hoc build, aps-environment development against a production profile, a keychain group of another team, or a capability the profile does not have (iCloud, App Groups) each fail with the key and both values. On macOS, sandbox and hardened-runtime entitlements under com.apple.security. need no profile and are shown as such.
  • Team: the team of the signed application-identifier (or the CodeDirectory team) against the profile’s team.
  • Signing certificate: the certificate in the code signature must be one of the profile’s DeveloperCertificates, compared by SHA-1. This is the “profile doesn’t include the signing certificate” case.
  • Extensions: each .appex bundle id must start with the app’s bundle id plus a dot.

To check a device, paste its UDID into the box under the device list. The comparison runs on the page; nothing is sent.

How we checked it

The fixtures are synthetic and built on macOS 27.0.1 with Xcode 27.0 (iPhoneOS 27.0 SDK) and OpenSSL 4.0.3 by test/ios/build.sh: a throwaway CA, a “developer” certificate and a profile-signing certificate; five hand-written profiles (development, Ad Hoc in BER indefinite-length form, an expired App Store profile, enterprise with a * App ID, and a macOS development profile) signed with openssl cms -sign -binary -nodetach; and a small C program compiled for arm64 and arm64e, signed with codesign --entitlements --generate-entitlement-der and zipped as Payload/Fixture.app. A second build has the wrong bundle id, get-task-allow true and development push against the App Store profile, another team’s keychain group, an iCloud entitlement the profile lacks, a certificate the profile does not list, a misnamed widget extension, and cryptid set to 1 in one slice. The unit tests compare the results with security cms -D, plutil, codesign -d --entitlements (XML and --der), lipo -archs and otool -l. We also ran the profile parser over the 20 real profiles Xcode had downloaded on our Mac: name, UUID, team, expiry, device list, entitlements and certificate SHA-1s matched security cms -D for all 20 (none of that data is in this site or its tests).

Two things that cost us time while building the fixtures. plutil -convert json rejects a decoded profile with “Invalid object in plist for JSON format”, because profiles contain <date> and <data> values JSON cannot hold, so the build script falls back to plutil -p for its reference output. And codesign -dv does not print the Authority= lines at all; we only saw which certificate had signed a build with -dvvv. If you run security cms -D -i on the .ipa itself instead of the profile inside it, it fails with security: failed to add data to decoder: UNKNOWN (-8183(d): unzip first, or drop the IPA here.

How your files stay private

  • The viewer runs in a separate frame served from rea-reverse.com, and files are read in a Web Worker inside it, on your device. Nothing is uploaded, and the tool has no server component.
  • UDIDs, team ids, bundle ids and certificate details are shown in the frame only. The UDID you paste is compared inside the frame and not stored.
  • This page shows one ad, below the article. The ad script runs on tools.rea-reverse.com; the frame is a different origin, so the browser does not let the ad script, or any other script on this page, read the files you drop, the UDID you paste, or the results.
  • The frame’s Content Security Policy blocks every request its scripts could make (connect-src 'none', no third-party resources at all). The frame cannot open windows or navigate this page by itself. The only things it passes to this page are its height and the analytics events below.
  • Analytics events contain only coarse values: success or an error code, the kind of file (profile, ipa, …), the derived profile type, the number of failed checks as a bucket, and size and duration buckets. The frame hands them to this page, which sends them. The full list is on the privacy page.
  • Prefer no ads and no analytics at all? Open the viewer on its own page.

How to verify this yourself

  1. Open your browser’s developer tools on the Network tab and load this page. Requests to rea-reverse.com are the frame: its HTML, styles, fonts and scripts, and the worker script /_astro/ios-worker-*.js. Requests to Google domains are the ad on this page.
  2. Clear the log, then drop an IPA. Type domain:rea-reverse.com in the filter box. At most the worker script /_astro/ios-worker-*.js appears again (a fresh worker is prepared for the next run); no request carries your data. Ad requests may continue, but they come from this page and carry nothing from the frame.
  3. Click the ios-provisioning-profile-viewer/ document from rea-reverse.com and open Headers: its Content-Security-Policy has connect-src 'none', and frame-ancestors https://tools.rea-reverse.com. In Chrome, Application > Frames also shows the frame’s origin and policy. The worker runs under default-src 'none'; script-src 'self'; connect-src 'none', so the browser blocks any request it tries to make.
  4. Check the isolation: in the Console, with the context set to top, run document.getElementById('tool-frame').contentDocument. It returns null. frames[0].document throws a SecurityError. That is what the ad script gets too.
  5. Or load the page, go offline, and drop a profile. It still works.
  6. Compare with your own tools: security cms -D -i file.mobileprovision, codesign -d --entitlements :- MyApp.app and otool -l MyApp | grep -A4 LC_ENCRYPTION print the same values.

Limitations

  • Nothing is verified cryptographically. Neither Apple’s signature on the profile nor the app’s code signature is checked; a profile or binary edited after signing looks normal here but will be rejected by the device.
  • Nothing is decrypted, re-signed or modified. For App Store downloads, only the load commands and the signature are read.
  • App extensions are listed with their bundle ids; their own profiles and entitlements are not cross-checked. Drop an extension’s embedded.mobileprovision on its own to read it.
  • The entitlement rules cover the common cases (exact values, * wildcards, arrays as subsets). Apple’s installer has special cases this page does not model, for example entitlements granted to Apple-signed code only.
  • The device list comes from the profile. Whether a device is also registered and enabled in your developer account is not visible in the file.

Command-line equivalent

On a Mac, unzip the IPA first (run on the IPA itself, security cms -D fails), then decode the embedded profile and pick fields with plutil (macOS 27.0.1):

$ unzip -q good.ipa && security cms -D -i Payload/Fixture.app/embedded.mobileprovision | plutil -extract ExpirationDate raw -o - -
2036-01-01T00:00:00Z
$ security cms -D -i Payload/Fixture.app/embedded.mobileprovision | plutil -extract ProvisionedDevices json -o - -
["00008110-000A1B2C3D4E5F01","00008120-000A1B2C3D4E5F02","0123456789abcdef0123456789abcdef01234567"]

The entitlements the executable is actually signed with (the values the profile has to allow):

$ codesign -d --entitlements - --xml Payload/Fixture.app
Executable=…/Payload/Fixture.app/Fixture
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>application-identifier</key><string>FIXTEAM123.com.example.fixture</string><key>aps-environment</key><string>development</string><key>com.apple.developer.associated-domains</key><array><string>applinks:example.test</string></array><key>com.apple.developer.team-identifier</key><string>FIXTEAM123</string><key>get-task-allow</key><true/><key>keychain-access-groups</key><array><string>FIXTEAM123.com.example.fixture</string></array></dict></plist>

Without a Mac, OpenSSL prints the same plist (OpenSSL 4.0.3; -noverify skips the certificate chain check). The output was byte for byte the same as that of security cms -D:

$ openssl cms -verify -noverify -inform DER -in Payload/Fixture.app/embedded.mobileprovision
CMS Verification successful
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>AppIDName</key>
        <string>Fixture &amp; Friends</string>
…
        <key>ExpirationDate</key>
        <date>2036-01-01T00:00:00Z</date>
        <key>Name</key>
        <string>Fixture Dev Profile</string>
…

FAQ

How do I decode a .mobileprovision file?

Drop it here to see its fields laid out, with the profile type, days left and certificate SHA-1s worked out. On a Mac, security cms -D -i file.mobileprovision prints the plist inside; elsewhere, openssl cms -verify -noverify -inform DER -in file.mobileprovision does the same.

Can I view a provisioning profile online without a Mac?

Yes. This page runs in any modern browser on Windows, Linux or macOS and reads the profile in a Web Worker on your device, so the profile, its UDIDs and certificates are not uploaded.

What does "A valid provisioning profile for this executable was not found" mean?

The device found no installed profile that fits the build. It usually comes down to one of the facts this page checks: the profile has expired, the device UDID is not in it, the bundle id does not match its App ID, or the signing certificate is not one of its developer certificates.

Which profile is inside my IPA?

The one at Payload/<App>.app/embedded.mobileprovision, which this page shows under Provisioning profile, with its name and UUID. Xcode's export may pick a different profile than the one you expected, especially with automatic signing; the UUID tells you which one it was.

The profile allows the entitlement, but the install still fails.

Look at the Signed with column: the value in the binary must be allowed, not only the key. aps-environment development in a build signed with a distribution profile is the classic case, as is a keychain group with the wrong team prefix. Also check the signing certificate row: a profile regenerated after a certificate renewal no longer lists the old certificate.

How do I find my device's UDID?

Connect it and look in Finder (click the text under the device name until the UDID appears) or in Xcode under Window > Devices and Simulators. Paste it into the box under the device list to check it against the profile.

Updated