Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xcode unabled to run any program (even Hello World default)

I've started into programming c++ and java in Osx (come from linux) and i've tried xcode (after trying netbeans, eclipse etc) because i find it the most comfortable IDE to work.


The problem comes when i download xcode on my own laptop, after the large download and installation (and few updates) i tried the basic Hello World program.

What is my surprise when, after building succesfully, i get no output at all outputs sections, but more surprised when i try to stop running the program and xcode doesn't respond.


I get this error with every program, doesnt matter which language.


I also have a crash when quitting xcode (it freezes and colored ballon pointer appears), so i have to force xcode quit.

Have anyone faced this issue before? or known whats the issue related with?


I'll really appreciate any help (as i can't program anything in osx if i want to use xcode)

OsX Mavericks-OTHER, OS X Mavericks (10.9)

Posted on Apr 14, 2014 3:25 AM

Reply
9 replies

Apr 14, 2014 7:09 PM in response to etresoft

Thanks for answering


i have created an osx command line c++ project, and also crashes, i search on youtube a few tutorials in case i was doing something wrong but after following exactly the same steps as them, still getting same crashing when trying to run the programm.


i am going to record a video and upload it here if its possible so it will help to show the error i'm facing.


edit: will reinstalling xcode and commandline tools solve this error? i'll post if it works as soon as i try it

Apr 19, 2014 12:14 PM in response to Usercore150

You need to try Xcode from a different, User Account, the Guest account will work for this.


Log into the new account and run Xcode. Select Command line tools and C++ and just hit the compile button without doing anything to the source file.


It it works you have a problem in your original account, a preference file most likely. If it fails in the new account you have a system wider problem and your next step would be to re-install the OS.


regards

Apr 19, 2014 1:49 PM in response to Frank Caggiano

Tried from guest account, doesnt work either, so i supposed i have a os problem as you say.


next step is trying another ide and try if it works.


I have remember i was prompt to install command lines tools but not when installing xcode, but when i execute a command from terminal (a message said "command line tools are needed for this action, do you want to download and install command line tools?" or something like that) could this be the problem? should i reinstall command line tools? how can i do this?

Jul 26, 2014 1:29 AM in response to Frank Caggiano

From my Guest account it works perfectly.


How can I make it works on my Account ? Which preference file should I need to change.


Here is the message from the debugger


Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </Users/USER/Library/Application Support/iPhone Simulator/7.1/Applications/A0D30F60-57F6-41C5-9EB0-E5FE46F50DB1/ToDoList.app> (loaded)'

Thank you for your help

xcode unabled to run any program (even Hello World default)

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