美文网首页
安装xcode时报错An unknown error occur

安装xcode时报错An unknown error occur

作者: 正版Figo | 来源:发表于2020-08-06 17:25 被阅读0次

    今天在安装Xcode 的时候打不开,点击install log查看报错信息:

    2020-04-22 16:26:39+08 zhangjiedeMacBook-Pro Xcode[21853]: Package Authoring Error: PackageInfo bundle reference found without top-level bundle definition. Bundle will be skipped: <bundle id=""></bundle>
    2020-04-22 16:26:39+08 zhangjiedeMacBook-Pro Xcode[21853]: Package: PKLeopardPackage <id=com.apple.pkg.MobileDeviceDevelopment, version=10.3.9000000000.1.1488876279, url=file:///Users/Javen/Desktop/Xcode10.1/Xcode.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg> Failed to verify with error: Error Domain=PKInstallErrorDomain Code=102 "The package “MobileDeviceDevelopment.pkg” is untrusted." UserInfo={NSLocalizedDescription=The package “MobileDeviceDevelopment.pkg” is untrusted., NSURL=MobileDeviceDevelopment.pkg -- file:///Users/Javen/Desktop/Xcode10.1/Xcode.app/Contents/Resources/Packages/, PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment, NSUnderlyingError=0x7fd770460e30 {Error Domain=NSOSStatusErrorDomain Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5, PKTrustLevel=PKTrustLevelExpiredCertificate, NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}}
    2020-04-22 16:27:39+08 zhangjiedeMacBook-Pro Xcode[21917]: Package Authoring Error: PackageInfo bundle reference found without top-level bundle definition. Bundle will be skipped: <bundle id=""></bundle>
    

    在桌面点击键盘shift+command+G,在输入框输入install log里提示的file后面的内容,比如上面file://后面跟的是:file:///Users/Javen/Desktop/Xcode10.1/Xcode.app/Contents/Resources/Packages/
    输入然后回车,文件里几个.pkg文件手动安装一下,直到安装成功。
    嗯。。。
    反正我这次安装成功了

    相关文章

      网友评论

          本文标题:安装xcode时报错An unknown error occur

          本文链接:https://www.haomeiwen.com/subject/naktdktx.html