Ouch Posted January 20, 2006 Share Posted January 20, 2006 Whenever i try to "Build and Go" from within xcode i get this error message. I am using nothing but the basic Java Swing Application Project Template with no modifications yet still i get this error. I can launch the application by running the executable manually and i can rename the folder to a .app bundle and that launches successfully - xcode just refuses to run it. I have tried cleaning the target as suggested elsewhere but this does not fix the problem. The only thing i can think of is that when i created the project it made its working directory ~/Projects/MyProject rather than just ~/MyProject - could this be the problem? I'm completely new to mac development and xcode but am familiar with Java and other IDE yet this one has me stumped. Link to comment Share on other sites More sharing options...
bofors Posted January 20, 2006 Share Posted January 20, 2006 (edited) I am sure that this issue comes up all the time on Apple's Java and XCode developer mailing lists. Try searching the archives. I am not sure if I would use XCode for general Java development anyways, why not use Eclipse? http://developer.apple.com/tools/eclipse.html Edited January 20, 2006 by bofors Link to comment Share on other sites More sharing options...
Ouch Posted January 20, 2006 Author Share Posted January 20, 2006 My web search revealed the cleaning targets tip which seems to cure most peoples issues except mine. Other causes seem to be to do with people not having the right mac os sdk installed but i have all of bundled ones installed. Thanks for the tip about eclipse - i might give it a try, i've used intellij on my pc until now but have been told by a number of people that eclipse is better. The only reason i went with xcode was because it was there. Link to comment Share on other sites More sharing options...
bofors Posted January 21, 2006 Share Posted January 21, 2006 (edited) The only other thing I would suggest is that you recheck that your bulld/installation paths are setup corectly for your project in XCode. XCode can get kind of "hairy" with some things like this, there are tons of switchs and settings. Otherwise, start with a fresh project and see if the problem remains. Edited January 21, 2006 by bofors Link to comment Share on other sites More sharing options...
Recommended Posts