leopard

Xcode error: Failed to launch simulated application

Problem statement: Unlike people have asked at here and here I got this error after a brand new installation of leopard(hackintosh), this problem really driving me crazy.... and nowhere else to find an clue, I googled and visited every article related with this, still cann't get it solved After the first time install iPhone SDK 2.2.1...

Can't find git-svn on Mac OS X Leopard after installing via MacPorts

Okay people, I'm sure someone has had this issue and can help me out. I'm trying to get git-svn working on OSX Leopard (10.5.6). Using MacPorts I've run the install thus : sudo port install git-core +svn However, git-svn has not been installed and is not available. No errors came up during the lengthy dependency installation and so I'm...

Zend_Search_Lucene on Leopard: problem

Leopard 10.5.6 Macbook Zend 1.6, Apache 2, PHP 5.2.5 I cannot seem to do indexing, using Zend_Search_Lucene api. Building or opening indices on generates the following exception message: string(30) "Wrong segments.gen file format" However, the indices/segments files were scp from a working version of my site and I've chmoded them all...

What is the correct directory layout for a web server under Mac OS X?

I'm packing the Cherokee Web Server, a very very fast webserver with a nice web-based GUI for configuration written by the spanish hacker Alvaro Lopez Herrera and available from http://www.cherokee-project.com. So far, I've managed to create a .pkg installer using Apple's PackageMaker.app that comes with Xcode but i'm installing everyth...

Persistent Dashboard Widget Preferences

I'm building a Dashboard Widget and I'm attempting to store preferences that persist across "sessions" (i.e., a user closing the widget and opening it again). I've tried: function setEmail(event) { var preferenceKey = "email"; var preferenceValue = $F("email"); widget.setPreferenceForKey(preferenceValue, preferenceKey); } function get...

NSTableView with custom cells

Hello there, it seems I've been searching for a long time and haven't found a great, easy, answer to my problem. I'm using XCode with Cocoa/ObjC and am trying to create an NSTableView which will load values from an NSDictionary/Array into different sections of a cell. For example, I'm trying to get an NSImage, NSTextField and other ite...

Reinstall /Library/Python on OS X Leopard

I accidentally removed /Library/Python on OS X Leopard. How can I reinstall that? ...

Core Data NSPredicate for relationships.

My object graph is simple. I've a feedentry object that stores info about RSS feeds and a relationship called Tag that links to "TagValues" object. Both the relation (to and inverse) are to-many. i.e, a feed can have multiple tags and a tag can be associated to multiple feeds. I referred to http://stackoverflow.com/questions/844162/how...

iphone development-leopard or snow leopard?

i am planning start my iphone development, and i have a iMac with tiger 10.4 OS version, planning to upgrade to Leopard 10.5.6 OS X, but i heard apple going to release the Snow Leopard in september, will development environment shift to snow leopard instead of leopard,and Leopard 10.5.7 no longer be used to development?is now a good tim...

Jerky/juttery (core-)animation in a screensaver?

I've built a screensaver for Leopard which utilises core-animation. It doesn't do anything overly complicated; uses a tree of CALayers and CATextLayers to produce a "table" of data in the following structure: - root › maincontainer › subcontainer › row [multiple] › cell [multiple] › text layer At most the...

How do I include calls to methods only present in one operating system version when compiling for multiple versions?

I have an app that is being compiled with a minimum system requirement of Tiger (OS X 10.4), but I need to include some code to deal with Spaces if the app is executing on Leopard (OS X 10.5). How do I do this? (The call I need to make is to -[NSWindow setCollectionBehavior:]). ...

RubyGems via MacPorts a good idea?

Upon upgrading from a MB to a new MBP, Apple's migration assistant didn't move my gems. I'm installing rubygems via macports this time, hoping to avoid this upon next upgrade. Tell me why I'm wrong. ...

shutdown, reboot, hibernate notification in leopard using python

i am developing an application using python that requires to be notified when the system is shutting down, rebooting, hibernating etc. how can I do that? Please shed some light on this. any hints in Objective C or applescript will be good enough. Thanks in advance. ...

Blank process name for OSX Cocoa application?

I'm developing an OSX application (Clarke) that runs with LSUIElement set (system menu only - no tray icon, doesn't appear in cmd-tab). It works totally fine, but someone just pointed out that it has a blank process name in the Activity Monitor listing. Just says nothing. Everything else in there has a name. Even other apps running at L...

Java Webstart Options

I am using javaws to run an application in OS X 10.5.7, Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211), and it seems that the command line arugments are broken in os X. I run the following command in linux and it works fine. javaws -wait -J"-Djavaws.package.runtype=debug" http://company.com/launch.jnlp and the runtime giv...

How to do remote debugging from Leopard to Tiger?

I have an app that works great on Leopard but on Tiger I'm getting some errors I can't resolve just from the stack trace. Is it possible at all to do remote debugging from Leopard to Tiger, and if so, how? ...

Applescript in Finder: advance to next file

What I'm trying to do is: set x to current selection, then advance the selection to the next file and then delete x. I'm doing this because CMD-backspace clears the selection every time and that's annoying! ...

Installing mysql on leopard: "Can't connect to local MySQL server through socket"

I migrated to a new machine and used migration assistant to copy across my files (which seemed to copy across the DBs) but I had to use macports to install Mysql (whereas last time I compiled from source via Dan Benjamin's guide). For some reason, mysql is intermittently throwing the following error; Can't connect to local MySQL server ...

What virtual machine can I use to virtualize Mac OS in Windows?

I want to run Mac OS in my Windows operative system, is there any virtual machine that does that? Tnks. ...

KeyDown and Cocoa Sample

I'm learning how to build program with Cocoa. I'm using a sample Apple application that record video from WebCam. I'd like to start ant stop video capture by key press. I've tried to override Keydown event but I've read that It's not possible in an NSObject. How can I handle this kind of event? The class of application extends a NSObjec...