Fix: Cannot Reveal Provisioning Profile in Finder from Xcode 5

Fix: Cannot Reveal Provisioning Profile in Finder from Xcode 5

Written by

in

Quick answer: In Xcode 5, provisioning profiles are stored in ~/Library/MobileDevice/Provisioning Profiles/. Open Terminal and run open ~/Library/MobileDevice/Provisioning\ Profiles to reveal them in Finder. Modern Xcode (9+) uses ~/Library/Developer/Xcode/UserData/Provisioning Profiles/ instead.

Why this happens

Xcode 5 (released 2013) manages provisioning profiles through the Accounts preference pane (Xcode > Preferences > Accounts > View Details), but it does not expose a “Reveal Profile in Finder” context menu item. The profiles are downloaded to a system folder that Finder hides by default (~/Library), so there is no obvious way to copy a .mobileprovision file to send to a client or back it up.

How to fix it

1. Open the legacy MobileDevice folder via Terminal (quickest)

The profiles Xcode 5 downloads live in:

~/Library/MobileDevice/Provisioning Profiles/

Open it directly:

open ~/Library/MobileDevice/Provisioning\ Profiles

A Finder window appears showing all .mobileprovision files. You can now copy, rename, or attach any profile.

2. Identify the exact profile name from Build Settings

If you have multiple profiles and need to know which file corresponds to the one selected in your target:

  1. Select the project in the navigator, then the target.
  2. Open Build Settings and search for Code Signing Identity / Provisioning Profile.
  3. Click the pop-up for the relevant configuration and choose Other….
  4. The sheet that appears lists the exact profile name (UUID or human-readable name).
  5. Match that name to the filename in ~/Library/MobileDevice/Provisioning Profiles/.

3. Modern Xcode (9 and later) profile location

Starting with Xcode 9, Apple moved profile storage to the Xcode-specific UserData folder:

~/Library/Developer/Xcode/UserData/Provisioning Profiles/

Open it with:

open ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles

If you maintain a legacy Xcode 5 project but also have newer Xcode versions installed, profiles may exist in both locations.

How to prevent it

  • Keep a script or alias (e.g., alias prov='open ~/Library/MobileDevice/Provisioning\ Profiles') in your shell profile for quick access.
  • When archiving for distribution, use Xcode’s Export workflow instead of manually handing profiles to clients.
  • Migrate legacy projects to a supported Xcode version; the modern Accounts pane includes “Show in Finder” for each profile.

FAQ

Does Xcode 5 ever write profiles to the newer ~/Library/Developer/Xcode/… folder?

No. Xcode 5 predates that layout and only uses ~/Library/MobileDevice/Provisioning Profiles/. Newer Xcode versions read the old folder for compatibility but write new downloads to the UserData location.

Can I delete profiles from the MobileDevice folder safely?

Yes, provided no installed app or older Xcode version depends on them. Xcode will re-download any missing profile when you select it in the Accounts pane.

Why are the files named with UUIDs instead of my profile names?

The filename is the profile’s UUID. Open a file in a text editor (or run security cms -D -i <file>.mobileprovision) to see the human-readable Name field inside the plist payload.

Sources & credits

Parts of this guide are adapted from content licensed under CC BY-SA 3.0; this article is shared under the same license.