MobileDevice.pkg untrusted, cannot open Xcode after OS X update

后端 未结 11 579
渐次进展
渐次进展 2020-12-22 17:45

After an automatic update of macOS v10.15 (Catalina), I am unable to open Xcode. Xcode prompts me to install additional components but the installation fails because of Mobi

相关标签:
11条回答
  • 2020-12-22 17:59

    Try to run Xcode-beta instead of Xcode to install additional components. After that you'll be able to use Xcode release.

    0 讨论(0)
  • 2020-12-22 18:01

    Edit and set the date of your Mac as October 1st, 2019.

    0 讨论(0)
  • 2020-12-22 18:01
    rm -rf /Applications/Xcode.app/Contents/Resources/Packages/*.pkg
    

    It will work and re-open the x-code

    0 讨论(0)
  • 2020-12-22 18:12

    This requires Xcode 11.1 to be installed.

    I was not able to update to Xcode 11.1 until I updated macOS Catalina to 10.15.1. After updating my macOS, I was able to install Xcode 11.1, which also allowed the installation of the additional components package.

    0 讨论(0)
  • 2020-12-22 18:14

    I had a similar problem, where I installed Xcode 11.1, and installed the components and everything within the same folder where I had Xcode 10.2.1. Then, I tried to go back to Xcode 10.2.1 and couldn't opened as it was asking me to install components again, and when I tried I was getting this error.

    The package “MobileDeviceDevelopment.pkg” is untrusted.

    So, the workaround that fixed it for me was navigating to...

    /Users/YourUser/Applications/Xcode\ 10.2.1.app/Contents/Resources/
    

    Then, deleting MobileDeviceDevelopment.pkg and everything went back to normal :)

    I hope this helps anyone else with this issue. Cheers!

    0 讨论(0)
提交回复
热议问题