xcode won't run.

While moving HD icon I placed it on top of or near the xcode icon on desktop. now xcode won't run. All hardware tested fine at apple and we reinstalled operating system. also HD icon removed from desk. Activity monitor %150 from xcode. Xcode removed and reinstalled twice. Girl at Genius bar stumped too.


Mac Air OsX 10.8.2

MacBook Air, OS X Mountain Lion (10.8.2)

Posted on Jan 4, 2013 9:31 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 7, 2013 12:27 PM

@xnav : perfect description of the problem, and your solution solved the issue on my side


xnav wrote :

Jan 4, 2013 12:21 PM (in response to mitsmada)


I had this happen when I accidently told Xcode too open the directory that contains all my projects. If Xcode works from a new/different user ID then try deleting everything that starts:

~/Library/Preferences/com.apple.dt.* under the user experiencing the problem.

43 replies

Jan 7, 2013 6:40 PM in response to softwater

Hope this helps.


Hardware Information:

MacBook Air - model: MacBookAir4,2

1 1.7 GHz Intel Core i5 CPU: 2 cores

4 GB RAM


Video Information:

Intel HD Graphics 3000 - VRAM: 384 MB


System Software:

OS X 10.8.2 (12C60) - Uptime: 0 days 8:29


Disk Information:

APPLE SSD SM256C disk0 : (251 GB)

disk0s1 (disk0s1) <not mounted>: 209.7 MB

AMacintosh HD (disk0s2) /: 250.14 GB (109.31 GB free)

Recovery HD (disk0s3) <not mounted>: 650 MB



USB Information:

Apple Internal Memory Card Reader

Apple Inc. Apple Internal Keyboard / Trackpad

Apple Inc. BRCM20702 Hub

Apple Inc. Bluetooth USB Host Controller

Apple Inc. FaceTime Camera (Built-in)


FireWire Information:


Kernel Extensions:

com.silex.driver.sxuptp Version: 1.5.1


Problem System Launch Daemons:


Problem System Launch Agents:

[failed] com.apple.mrt.uiagent.plist


Launch Daemons:

[loaded] com.adobe.fpsaud.plist

[not loaded] com.Affinegy.InstaLANd.plist


Launch Agents:

[not loaded] com.Affinegy.InstaLANa.plist


User Launch Agents:


User Login Items:

iTunesHelper


3rd Party Preference Panes:

Flash Player

Flip4Mac WMV

Growl

TotalAccess


Internet Plug-ins:

Flash Player.plugin

FlashPlayer-10.6.plugin

Flip4Mac WMV Plugin.plugin

Google Earth Web Plug-in.plugin

iPhotoPhotocast.plugin

JavaAppletPlugin.plugin

QuickTime Plugin.plugin

RealPlayer Plugin.plugin

Silverlight.plugin

User Internet Plug-ins:

Bad Fonts:

None


Top Processes by CPU:

3% WindowServer

1% hidd

1% WebProcess

1% mds

0% coreservicesd

0% System

0% firefox

0% diskmanagementd

0% notifyd

0% iTunes



Top Processes by Memory:

352 MB Preview

172 MB firefox

156 MB WebProcess

94 MB Mail

86 MB Safari

78 MB WindowServer

74 MB mds

71 MB iTunes

52 MB Finder

41 MB Dock

Jan 19, 2013 9:40 AM in response to xnav

!.) Here's the 1st error message I get:

“mx_sw_ch Project” is locked for editing and you may not be able to save your changes. Do you want to unlock it?

“mx_sw_ch Project” is currently locked because you are not the owner of the file and do not have write permission.


2.) Here's the message after I press unlock: It repreats about every 5 seconds.

The file “UserInterfaceState.xcuserstate” could not be unlocked.

Could not add write permission to the file because you do not own it. Try modifying the permissions of the file in the Finder or Terminal.


I found that I can still run my programs between warnings.


Xcode version 4.5.2

Jan 4, 2013 11:02 PM in response to xnav

Thanks xnav, I'm not able to open xcode to start a new file or project, if I'm understanding that's where to enter the new user ID? The best I get is a no editor when I open xcode if the black spinning icon ever stops. And if I try to click anything in the tool bar I only get the color spinning icon.


Mac Air OsX 10.8.2

Jan 9, 2013 5:56 AM in response to mitsmada

àč„àžĄàčˆàč€àž›àč‡àž™àč„àžŁàž„àžŁàž±àžšàč€àž›àč‡àž™àž„àž™àč„àž—àžąàžŁàž¶àč€àž›àž„àčˆàžČàž„àžŁàž±àžš You can't back up your Air with an iPad, but if your iMac has more free disk space than your entire MB Air, you could create a partition on its HDD and clone your MBA to it.

Jan 9, 2013 9:46 AM in response to softwater

Sawa dee krap softwater, I'll order the HD back up sometime this week and let you know when I get it (it sounds like the best way to go).

With your help and a little "chok di" I think I can get my MB going again just in time for school.


Sorry I can't read Thai and only know a few phrases but I have many Thai friends who love teaching me.

Kob khun krap!

Jan 20, 2013 10:14 AM in response to xnav

Tried the Ctl-Click on 'mx_sw_ch.xcodeproj' and changed access to all user read/write but still no luck.

BTW, this problem happens on all my projects not just mx_sw_ch.xcodeproj.


Sorry, not sure what to substitute in the terminal command. It's getting a little complicated to follow.


It's looking like I need to just switch users and dump this one. Class is starting in a few days and I need to

focus my attention on SQL. Never thought this problem would be so difficult.

What do you guys think?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

xcode won't run.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.