[Lion]XCode 4.1 ne s'installe pas

jimweast

Membre confirmé
22 Septembre 2009
30
0
bonjour,

j'ai fait la miss à jour vers lion depuis snow leopard sur un Imac 2010
XCode 4 était installé pour la version de SL
J'ai téléchargé la mise à jour XCode 4.1 pour lion, et au moment de l'installation, à peine celle-ci commencé, j'ai le message d'erreur suivant :
"The installer encountered an error that caused the installation to fail. Please consult /var/log/install.log for more details"

Par dépit, je me suiscréé une clé usb bootable avec lion, j'ai tout effacé, et réinstallé lion proprement, re-téléchargé xcode 4.1 en espérant ne plus avoir de problème sur un disque propre...et ben non, même message.

En fouillant les forums, j'ai vu que le process ituneshelper pouvait poser problème, mais il ne tourne pas sur ma machine.

Vous auriez une idée ?

PS : je ne sais pas comment me rendre /var/log/install.log pour lire la log.

Merci
 
Ton soucis ne provient pas d'itunes helper car dans ce cas la il te demanderais de fermer itunes pour continue l'installation
 
voici ci-dessous le contenu d'installé.log,


Jul 22 19:09:33 imac-de-david installd[845]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “DeveloperTools.pkg”." UserInfo=0x7feec501c300 {NSLocalizedDescription=An error occurred while extracting files from the package “DeveloperTools.pkg”., NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, NSURL=file://localhost/Volumes/Stock/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSUnderlyingError=0x7feec61764b0 "The file couldn’t be opened because it isn’t in the correct format."} {
NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root";
NSLocalizedDescription = "An error occurred while extracting files from the package \U201cDeveloperTools.pkg\U201d.";
NSURL = "file://localhost/Volumes/Stock/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg";
NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\"";
PKInstallPackageIdentifier = "com.apple.pkg.DeveloperToolsLeo";
}
Jul 22 19:09:33 imac-de-david installer[843]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “DeveloperTools.pkg”." UserInfo=0x7f9edb1119a0 {NSUnderlyingError=0x7f9edb1127e0 "The file couldn’t be opened because it isn’t in the correct format.", NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, NSURL=file://localhost/Volumes/Stock/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while extracting files from the package “DeveloperTools.pkg”.}
Jul 22 19:09:33 imac-de-david installer[843]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
imac-de-david:~ daphi3$
 
Dernière édition:
J'ai eu le même pb de mon côté.

Il faut d'abord désisntaller Xcode 4.0.
Depuis un terminal :
sudo /Developer/Library/uninstall-devtools --mode=all

Puis, relance l'installation de xcode 4.1
Ca devrait passer cette fois.:)
 
merci

c'est ce que j'avais fait à mon premier essai, mais rien n'y à changé

Tu as appliqué cette méthode ?

Quelqu'un a installé XCode pour lion ici ?

Merci
 
Dernière édition:
Tu as deja posté un message pour la meme chose et t ai répondu ça

Pour moi

Formatage du disque
install leopard
install de lion par dessus
install de xcode (la pb, il me dit de fermer iTunes qui n'est pas ouvert)
je quitte installe xcode
je le relance et la ça passe
 
J'ai exactement le même soucis des solutions ? :(