今天在安裝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后面的內(nèi)容,比如上面file://后面跟的是:file:///Users/Javen/Desktop/Xcode10.1/Xcode.app/Contents/Resources/Packages/
輸入然后回車镐作,文件里幾個.pkg文件手動安裝一下锈津,直到安裝成功呀酸。
嗯。琼梆。性誉。
反正我這次安裝成功了