Software⏱️ 2 min read📅 2026-06-03

How to Fix: MobileDevice.pkg untrusted, cannot open Xcode after OS X update

Xcode installation fails after macOS update due to untrusted MobileDevice.pkg, try reinstalling Xcode or updating it from the App Store.

Quick Answer: Try reinstalling Xcode or updating it from the App Store to resolve the issue.

After an automatic update of macOS v10.15 (Catalina), you're unable to open Xcode, and Xcode prompts you to install additional components. However, the installation fails due to MobileDevice.pkg.

⚠️ Common Causes

  • The issue might be caused by a corrupted MobileDevice.pkg file or an outdated Xcode installation.

🚀 How to Resolve This Issue

Method 1: Reinstall Xcode

  1. Step 1: Quit Xcode and delete the Applications/Xcode.app/Contents/Resources/Packages folder.

Method 2: Install Xcode using Package Installer

  1. Step 1: Open the Finder, navigate to Applications, and click on Xcode.app.

💡 Conclusion

To resolve the issue, try reinstalling Xcode or installing it using Package Installer. If the problem persists, consider resetting the System Management Controller (SMC) and Power Management Unit (PMU).

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions