Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
August 16, 2017, 08:18:45 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
  Print  
Author Topic: Program 2.1 - No launchable executable present at path!  (Read 3602 times)
celliott
Newbie
*
Posts: 2


« on: June 17, 2010, 08:25:17 AM »

Hi, just tried my first program in X-Code, have the code exactly as in the book, but when I Build and Run I get the message "No launchable executable present at path". At the bottom of the Debugger window it says "Build succeeded", but the console window doesn't appear.

Any suggestions where I'm going wrong?
Cheers
Logged
skochan
Administrator
Hero Member
*****
Posts: 3114



« Reply #1 on: June 17, 2010, 07:39:53 PM »

Hmmm.   Try selecting Clean All Targets from the Build menu and trying again.  If that doesn't work, take a screen shot of your Xcode window for me (press Cmd-Shfit-3) and also post the Project File (find the Folder in the Finder and right-click on it, select Compress... and then upload the zip file as an attachment).  A final suggestion is to quit Xcode and start all over again with a new project.   After creating an empty application, you should be able to Build and Run it without touching a line of code.

Cheers.

Steve
Logged
celliott
Newbie
*
Posts: 2


« Reply #2 on: June 21, 2010, 04:03:23 AM »

Thanks for the speedy reply Steve. I selected Clean all targets and that didn't help. I then started a new project and that works fine, so not sure what the problem was - as far as I can see the code is identical (but I know from experience it's easy to miss something). If it's of interest, here's a screen shot of the project.

Cheers,
Catherine
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 classroomM.com. All rights reserved.