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

后端 未结 11 634
渐次进展
渐次进展 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条回答
  •  旧时难觅i
    2020-12-22 17:58

    You may solve this issue by setting the date of your Mac as October 1st, 2019. But this is just a hack! The real solution (suggested by apple) is this:

    All you have to is to upgrade Xcode

    But there is a known Issues on apple developers site

    Xcode may fail to update from the Mac App Store after updating to macOS Catalina. (56061273)

    Apple suggests this:

    To trigger a new download you can delete the existing Xcode.app or temporarily change the file extension so it is no longer visible to the App Store.


    Always working solution for all Xcode issues:

    1. Go here and log in.

    2. Then download the xib from here.

    More information here on this answer.


    ##Answer to this specific issue##

    Get rid of those packages.

    cd /Applications/Xcode.app/Contents/Resources/Packages
    sudo rm -rf MobileDevice.pkg
    sudo rm -rf MobileDeviceDevelopment.pkg 
    

    Xcode will install all of them again for you.

提交回复
热议问题