I recently updated to the new version of XCode and the session start code is very long and appears every time I run the program. Is there any way to shorten it to what it was like in previous versions? (Just the first line)
Here's what it says now...
[Session started at 2009-09-14 18:49:17 -0400.]
GNU gdb 6.3.50-20050815 (Apple version...
I have a Cocoa app that I'm trying to write which displays a webpage. This webpage has an embedded quartz composition in the background that plays and works when in Safari, but it does show in my Cocoa application (it just shows the missing plugin icon in the background instead).
The weird thing is that it works on another computer that...
may i know what permission do i need to add, to allow test.php to able to write file into macos filesystem
PHP Error: <br />
<b>Warning</b>: file_put_contents(20090915203127.jpg) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in <b>/Library/WebServer/Documents/testphp/tes...
Hello all! I have a slight problem. Having recently migrated on Mac, I've been pulling my hair and searching the web about this but have not found what I was exactly searching for. I want to set the application name in the system menu, which doesn't work at the moment (my main class name is displayed instead of my app name). What propert...
I am developing a Java application using SWT that contains some buttons with images.
On my Windows machine, the button will automatically be large enough to show the entire image in the button. I tried this on a Mac however the button will not become tall enough to fit the entire image. I tried using the setsize() function on the bu...
I'm a newbie, so you'll have to explain this pretty clearly.
I'm looking for a way for Xcode to automatically run gdb with the -quiet command so that it doesn't show startup text. I tried to edit the /Developer/usr/bin/gdb executable by adding -q to the exec lines at the end after "$gdb" in this code (somebody mentioned doing that elsew...
I was trying to compile a Grails application referencing third party JARs on Mac OSX. Although my system's JRE and JDK is set to Java 1.6 I always got a Compilation error: java.lang.UnsupportedClassVersionError: Bad version number in .class file
when accessing classes in the JAR. Also when testing an existing Grails app the default stats...
Hi,
I've got some code that lies in a browser, and wrote C++ plugins for both IE (COM/ActiveX) and firefox (NPAPI).
I now have to get this code work on Mac OS X. I found some input on apple's site, but it's written in Objective C.
I also read about SIMBL, but it seems to deal with Objective C code only, isn't it?
So here are my quest...
Hello, i need to install older version of mysql server on mac os, but i have newer version
i try to remove this newer installation (5.1), but when start old version install (5.0b) message "MySQL 5.0.51b-community for Mac OS X can't be installed in this disk. A newer version of this software alrady exists on this disk"
i can't recognize...
What I wanted to do is take a log on battery percentage. I know the equivalent in linux is sysctl(hw.acpi.battery.life). However when I went through the man of sysctl in mac os x I did not find the equivalent code to find it. Can some one point out how to do this using objective c. I can call sysctlbyname but that doesn't have this as in...
Hi everyone,
I have just downloaded MonoDevelop 2.2 Beta 1 for OS X and I'm getting the error "Could not find respack" when building a Moonlight project. I have created it by using the Moonlight Application Project template, and it fails without making changes. Besides, the template adds some references which MonoDevelop can't resolve -...
Does iPython work on Mac OS X 10.6.1 Snow Leopard? I'm python noob, how can I install iPython on my Mac? Links? suggestions?
Thanks
...
Hi there,
I have several resources in my iPhone app and when they get compiled they all get added to the root of the resources folder in the app regardless of the Xcode grouping structure. This is fine for most things, however there is a set of files that I need to have structured in folder in the app's resources folder.
At the moment,...
For some reason excode is throwing this error when I try to cin into a string.
test(5640) malloc: * error for object 0x1000041c0: pointer being freed was not allocated
* set a breakpoint in malloc_error_break to debug
Program received signal: “SIGABRT”.
sharedlibrary apply-load-rules all
Here is the code that produced that:
...
I need to know each time a Mac print job is created/completed, plus some information about that job (what was printed, pages, copies, etc).
The best method I've come up with thus far is to use kqueue() on /var/spool/cups/ and then parse the c##### files as they're created, but I'm wondering if there's a better way.
...
I have a unix command line app (with big nasty makefile) that I'm trying to run on a mac. I am compiling it on a 10.6 system, with all of the appropriate libraries of course. The deployment environment is a 10.5 system, with no extra libraries.
I compiled without -dynamic, and it appears to have static libraries, correctly. When I run i...
Hi
I'm using QT Creator under Mac osx, but "Follow symbol under cursor" option, to allow me to jump for class and methods' definitions, does not really work... it only works for local symbols. neither does "Switch between method declaration/definition"
any ideas?
thanks much for any thought
Lior
...
After I've upgraded to Snow Leopard and Xcode 3.2, everything was screwed up. It took a while for me to figure out the whole evil was that my old Xcode installation was not really "updated", but replaced. So just everything was gone. All SDKs, Settings, everything.
So Code Sense did not work because of no SDK available, and all the othe...
I just installed the Oracle Instant Client for Mac OSX with the SQLPlus extension and have the following problem. I can connect to a database instance and schema and I can do queries but when I try the "describe command" it just hangs. For example:
SQL> SELECT COUNT(*) FROM APPROVABLETAB;
COUNT(*)
----------
8
SQL> desc APPROVABLE...
I want to print what I see in the finder (using Mac OSX snow leopard). It's a big list of roughly 1,000 icons and I want to print all pages to get a good overview of the contents. The Finder's "View">"As icons" fit perfectly for what I want to print.
Question is how do I print this. I cannot just take a screenshot, because the content i...