Jump to content

xCode 4.1 Crashes on Virtualised OSX Lion


  • Please log in to reply
12 replies to this topic

#1
myrepospace

myrepospace

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Hey guys,

This is my first post. So, hello!

I've got a problem with running xCode 4.1 using Mac OSX Lion within VMWare.

The Virtualised Machine is running a Core 2 Duo 2.4GHz with 2GB Ram.
The Crash Report returns this:

Process: Xcode [184]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.1 (516)
Build Info: IDEApplication-516000000000000~18
Code Type: X86-64 (Native)
....


Thanks in advance

-- EDIT:
The problem has been found - xCode 4.1 must be downloaded from the AppStore on a MacOSX Build version 11A511 (The Retail version) or higher to work. More info further down

#2
deadfire

deadfire

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Exact same problem, here's what I've done with no avail:

Xcode from TPB, remove with Sudo, Xcode from App Store, remove with Sudo, Xcode from App Store on fresh VM, remove with Sudo, cleared cache files, Xcode from App Store.

Right now I've made a new Admin account and am installing on there.

Edit: Looks like I've got the solution! You have to uninstall Xcode, make a new administrator account, shut down, open that new account, install Xcode by going into /Applications/Install Xcode/

Should start up automatically once it's done :rolleyes:

#3
LukeWilde

LukeWilde

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Exact same problem, here's what I've done with no avail:

Xcode from TPB, remove with Sudo, Xcode from App Store, remove with Sudo, Xcode from App Store on fresh VM, remove with Sudo, cleared cache files, Xcode from App Store.

Right now I've made a new Admin account and am installing on there.

Edit: Looks like I've got the solution! You have to uninstall Xcode, make a new administrator account, shut down, open that new account, install Xcode by going into /Applications/Install Xcode/

Should start up automatically once it's done ;)


I'm also experiencing this exact same problem. Unfortunately, the fix suggested still results in the same error message on launching Xcode 4.

I created a new admin account, completely uninstalled Xcode, shut down and restarted, opened the new admin account and reinstalled Xcode in the way described.

myrepospace, did you find the above fix successful, and if not have you found another solution?

Any feedback/suggestions from anybody would be greatly appreciated.

#4
myrepospace

myrepospace

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Exact same problem, here's what I've done with no avail:

Xcode from TPB, remove with Sudo, Xcode from App Store, remove with Sudo, Xcode from App Store on fresh VM, remove with Sudo, cleared cache files, Xcode from App Store.

Right now I've made a new Admin account and am installing on there.

Edit: Looks like I've got the solution! You have to uninstall Xcode, make a new administrator account, shut down, open that new account, install Xcode by going into /Applications/Install Xcode/

Should start up automatically once it's done :)


Also didn't work for me..
Yes, I'd love to know a solution!

#5
cprcrack

cprcrack

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Exact same problem here. Now that Xcode 4.1.1 has been released, I have also cleaned everything related to Xcode 4.1 and installed Xcode 4.1.1 but the same happens. Now I am trying the new admin account trick, will tell you if it works soon.

Other things I have tried with no luck include: deleting the two "Caches" files (/Library/Caches and /Users/YOUR_USER/Library/Caches), completely uninstalling iTunes, creating a new VMWare disk to give it 25 GB extra space, and the restoring from the original hard disk.

This is a real pain. I have spent about 5 days trying to user Xcode; first trying to make a Hackintosh with no luck in my Sony Vaio FW3, then the VMWare thing... and every test takes so much time... :(

I think we should know more about the error in order to try and solve it, the key sentence is:
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-1617/Framework/Utilities/IBFoundationAdditions.m:142


#6
cprcrack

cprcrack

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Ok, the new admin account trick did not work. At least I saw something new, the Xcode icon appeared on the dock and the welcome window appeared, but it was unresponsive, and had to force quit the process. The second time I tried to run it, same error, as usual, and no welcome screen. A total {censored}.

#7
myrepospace

myrepospace

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Ok, So I found the problem - but it's not an Quick Fix..

The VMware image found in this Tutorial:
[moderator edit: link removed due to rules violation]
is actually the image of OSX Lion GM, not Lion Retail.

The xCode downloaded from that same tutorial is titled as GM, but does not work with that specific build of OSX. Maybe it did before it was updated to that build.

So I went ahead and found a retail .vdmk floating around the Internet.

I used that to make my own VMware image, fresh install.

To do so you simply Create a new Virtual Machine, Choose 2GB Ram, XXGB Hard Drive size, etc & Create the VM.
In the main screen, click Edit the configuration and add another hard-drive with the downloaded .vdmk attached.

Follow the on screen instructions to install. Make sure you use the disk utilities to format your virtual hard-drive first!

Installation took around 1 hour to install (it hangs on 5/4 minutes remaining for around 20 minutes), and another 30 mins to configure (make sure you download the VGA/Audio Drivers found here to get better resolution and audio working)

Go into the AppStore and install xCode.
xCode is free for Apple ID's linked to developer accounts, which is free too. Click here and click "Members Center" to register your apple ID as Developer

xCode took around 2 hours to download, and around 30 minutes to install. It's got a nice new installer too which kills the iTunesHelper before starting
(But you should make sure you check that iTunesHelper is killed before starting the installation using Activity monitor)

xCode should launch once finished installing and work flawlessly!

Hope this helps someone!

#8
cprcrack

cprcrack

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Worked now, thank you :wacko:

So... final reason, xCode 4.1 not compatible with Lion GM (Golden Master), must use Lion Retail.

#9
myrepospace

myrepospace

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

Worked now, thank you :)

So... final reason, xCode 4.1 not compatible with Lion GM (Golden Master), must use Lion Retail.


Bingo. The Retail version is a lot better I find too.
A little slower, but much more polished.

#10
IuriNery

IuriNery

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Same issue here, and I tried the admin trick but didn't worked!

The moderators removed the Lion Retail link, can someone please send the link by PM?

Thanks!

#11
myrepospace

myrepospace

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Its not at all hard to find if you use Google. There are 100's of links to it.
Search the Keywords, Lion Retail vdmk.. it can't be any easier.

#12
mitman

mitman

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
That's the solution. thanks!

#13
myrepospace

myrepospace

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
UPDATE:

Do not download the Updates through the Apple Update service. It kills the Virtual image. I learnt the hard way ;)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy