Previous 1 2 Next 18 Replies Latest reply: Aug 12, 2012 12:43 PM by baltwo
Yebbi Level 1 Level 1

If I attempt to launch XCode from the dock (as a standard user), I simply get an error message (see end of his message). The same happens regardless of the way XCode is launched, ie, from Spotlight, from the Applications folder, from the Applications stack. However, if I switch to an administrators account, I can launch XCode successfully but ony if I launch from the dock; Spotlight launch fails with the same message.

 

I tried to redownload XCode from the App store but the App store version only supports Lion. What can I do about this apart from the obvious upgrade to Lion which I don't want to do just for the sake of XCode and am concerned about corrupting my bootcamp partition which is vital for me. I can't risk the upgrade to Lion if there is even an outside chance of losing my bootcamp partition as I have heard of from various forums.

 

Although I am an experienced windows developer, this is my first foray into developing for OS-X/iOS platform so I haven't got off to a great start.

 

Error message is as follows:

 

Process:     Xcode [18284]
Path:        /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:  com.apple.dt.Xcode
Version:     ??? (???)
Build Info:  IDEApplication-990000~36
Code Type:   X86-64 (Native)

Parent Process:  launchd [186]

 

Date/Time:   2012-08-03 19:58:59.516 +0100
OS Version:  Mac OS X 10.6.8 (10K549)

Report Version:  6

 

Interval Since Last Report:      338200 sec
Crashes Since Last Report:       5

Per-App Crashes Since Last Report:   4

Anonymous UUID:                  EA2D2983-5682-43C5-B52D-D4C8D3AAC826

 

Exception Type:  EXC_BREAKPOINT (SIGTRAP)

Exception Codes: 0x0000000000000002, 0x0000000000000000

Crashed Thread:  0

 

Dyld Error Message:

  Library not loaded: @rpath/DVTFoundation.framework/Versions/A/DVTFoundation

  Referenced from: /Applications/Xcode.app/Contents/MacOS/Xcode

  Reason: image not found

 

Binary Images:

0x7fff5fc00000 - 0x7fff5fc3bdef  dyld 132.1 (???) <486E6C61-1197-CC7C-2197-82CE505102D7> /usr/lib/dyld

 

Model: MacBookPro5,2, BootROM MBP52.008E.B05, 2 processors, Intel Core 2 Duo, 2.66 GHz, 8 GB, SMC 1.42f4

Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB

Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB

Memory Module: global_name

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.42.4)

Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports

Network Service: AirPort, AirPort, en1

Serial ATA Device: WDC WD7500BPKT-75PK4T0, 698.64 GB

Serial ATA Device: MATSHITADVD-R   UJ-868

USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0x24400000 / 2

USB Device: iPhone, 0x05ac  (Apple Inc.), 0x1297, 0x26400000 / 2

USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0237, 0x04600000 / 3

USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000 / 2

USB Device: SG-Lock USB Key, 0x1547, 0x1000, 0x06200000 / 3

USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2

USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8217, 0x06110000 / 4


Mac Book Pro, Mac OS X (10.6.6)
Solved by Yebbi on Aug 12, 2012 8:51 AM Solved

I managed to download 4.2 from my purchases history and then installed from there. However, when I launched XCode again in the same manner I was still getting crashes. Upon further investigation and stumbling upon a getting started document, I found that I had 2 xcodes. One was in /Applications and the other in /Developer/Applications. The .app in /Applications was just 4K, and was effectively hiding the one /Dev... so I just removed it. This then solved my crashing problems. The /Dev... version (4.2) launches successfully, so happy days and theres no need to upgrade to Mountain Lion which is a huge relief.

 

I must say, getting to 4.2 which I had previously paid for was extremely convoluted and pretty much misleading and unnecessarily complicated. Anyway, nuff said, thanks.

Reply by K T on Aug 3, 2012 3:00 PM Helpful

Yes - only for paid devs....again, as mentioned in the linked article above.

 

XC4.2SL.png

Reply by Llessur999 on Aug 3, 2012 4:57 PM Helpful

Before giving up, make sure you can't download it from the App Store Purchase list. Sign in with the same Apple ID you purchased it with. I purchased Xcode 4 for $5 when I first got a Mac. I updated through the App Store through 4.2 before eventually updating to Lion. You can see Xcode for Snow Leopard still appears in my purchase list. I can't test this because I don't want to mess up my install.

temp1.png

All replies

  • baltwo Level 9 Level 9

    AFAIK, Xcode 3.2.6 is the latest version that'll run on SL. Based on the call to DVTFoundation.framework, you're trying to run 4.3 or 4.4, which are Lion/ML apps.

  • K T Level 7 Level 7
    expertise.publishing
    Publishing

    Which version Xcode is involved?

     

    Xcode 4.2 is the latest version supported w/SL.

     

    See: Xcode Versions ~ iOS - As of 7.29.12

  • Yebbi Level 1 Level 1

    The version of XCode is 4.0, build 4A304a,

     

    thanks

  • K T Level 7 Level 7
    expertise.publishing
    Publishing

    4.0 is obsoleted.

     

    Download 4.2  and use it.

     

    See the link above...use developer.downloads.

  • baltwo Level 9 Level 9

    Thanks for clarifying. Since I do nothing w/iOS, didn't bother with any 4 version. BTW, AFAICT, 4.0-4.2 are no longer available for download, unless you're a paid developer. I'm not, just a free member.

  • K T Level 7 Level 7
    expertise.publishing
    Publishing

    BTW, AFAICT, 4.0-4.2 are no longer available for download, unless you're a paid developer. I'm not, just a free member.

    Right....that's mentioned in the link above.

     

    Ken

  • Yebbi Level 1 Level 1

    I can only find "XCode 4.2" and "XCode 4.2.1" for Lion. Do these also work for Snow Leopard?

  • K T Level 7 Level 7
    expertise.publishing
    Publishing

    'find' where?

     

    Are you a registered/paid Developer? Did you pay the USD$99 fee?

     

    Ken

  • Yebbi Level 1 Level 1

    from the XCode version link you posted earlier. I am currently downloading the "XCode 4.2.1 for Lion" which incidently doesn't say it requires 10.7.x or later to install, like many of the other packages do. I am hoping that 4.2.1 will work for Snow Leopard. And yes I am  registered developer.

  • K T Level 7 Level 7
    expertise.publishing
    Publishing

    You're wasting your time with that download. Lion is 10.7.3. 4.2 for 10.6.8 is there for devs in a paid program.

     

    Not just 'registered'...did you pay the USD$99 fee and is your account active at this moment?

  • Yebbi Level 1 Level 1

    Ok, download cancelled. I am registered but not paid. I can't see 4.2 for 10.6.8. Is that only available for paid subscription?

  • K T Level 7 Level 7
    expertise.publishing
    Publishing

    Yes - only for paid devs....again, as mentioned in the linked article above.

     

    XC4.2SL.png

  • Yebbi Level 1 Level 1

    Ok thanks KT. This is becoming quite a pain. The annoying thing is I actually paid for xcode admittedly not much (I think it was £6 at the time). Now I have to decide whether upgrading to Mountain Lion is bootcamp friendly so this will now be the next focus of my attention. I don't think I want to pay the dev fee just so I can run a legacy application, I would rather use JetBrains AppCode, which is better than Xcode in many ways. Thanks again for your help.

  • Llessur999 Level 4 Level 4

    Before giving up, make sure you can't download it from the App Store Purchase list. Sign in with the same Apple ID you purchased it with. I purchased Xcode 4 for $5 when I first got a Mac. I updated through the App Store through 4.2 before eventually updating to Lion. You can see Xcode for Snow Leopard still appears in my purchase list. I can't test this because I don't want to mess up my install.

    temp1.png

Previous 1 2 Next