leopard

Mac OS X 10.5 App "not supported on this architecture" cured by copying?

I have an app that updates itself over the internet, and the updated copy won't run on PowerPC machines (G5) running Leopard (10.5.8). Double-clicking the app produces a message saying "You can't open the application "appname" because it is not supported on this architecture." But here's the weird part: if I duplicate the app using th...

iPhone 3.1.3 sdk for Leopard

Is it still possible to find the 3.1.3 SDK (w/ Xcode) for iPhone development on Leopard? I haven't upgraded to Snow Leopard yet, but I need to interact with devices running 3.1.3. I should have grabbed that version when it was up, but I didn't. So, does anyone have a link to the 3.1.3 iPhone SDK (w/ Xcode)? ...

MacPorts for Python on Leopard

I haven't found any concrete language on the terminal commands for installing python 3.1 on Leopard using MacPorts. I already have 2.5.1 on Leopard by way of Apple. I don't want to mess with this version & I think having the newer version of Python running from my opt/local file would be better. Also SQL3 comes packed with the standard P...

Applescript, how to get network address of a file

We are a network of Mac computers. I would like to send email addresses to colleagues with links to files on network locations. I made the following applescript: tell application "Finder" set uuu to URL of the first item of (get the selection) set the clipboard to uuu end tell which puts the URL of the currently selected file into th...

Using mac ports to install py26-gtk switches off my Mac

Hi I have Mac OS 10.6.3, python 2.6, mac ports 1.8.2. Im trying to run 'sudo port install py26-gtk' but my mac book doesn't get further than 'building gcc43', while doing that it switches off without shutting down. It is not overheating since I tried it again while my mac book was sandwiched between 2 cold packs. The mac was cool and t...

Run AppleScript with Elevated Privileges from Objective C

I'm attempting to execute an uninstaller (written in AppleScript) through AuthorizationExecuteWithPrivileges. I'm setting up my rights after creating an empty auth ref like so: char *tool = "/usr/bin/osascript"; AuthorizationItem items = {kAuthorizationRightExecute, strlen(tool), tool, 0}; AuthorizationRights rights = {size...

iPhone SDK: am I still allowed to develop with SDK 3.1.3 on Leopard?

Mac OS X Snow Leopard's been in stores for a while now. Sadly, the Mac that I'll be developing on is still running Leopard, and I don't have admin access to the Mac either so I can't do anything about the OS version. Therefore I can only use iPhone SDK 3.1.3, which we've obtained thanks to this answer, to start building apps on that Mac....

Programming on Leopard for iPhone OS 3.1.3

Hey, I got Leopard with XCode 3.1 and SDK 3.0, when opening the organizer and trying to debug on my ipod I received "The version of iPhone OS on "..." does not match any of the versions of iPhone OS supported for development with this copy of xCode...". It tells me with my xCode I can only develop for iPhone OS 3.0 or less, so I download...

Height of the apple menubar

Hello, My question is in fact not bound to any programming language, i was just wondering what the height of the apple menubar (the one always on top) is? (My screen size is 1200 x 800) i was wondering what it would be excluding the menubar. (I run 10.5.8 => Leopard.) Thanks Samuel Edit: Speaking about pixels of course ...

“MySQL server has gone away” error happens for every user other than root

I can't get any MySQL user other than root to work; even anonymous fails. I can log in anonymously or using other user I create, but any command entered under that user causes error 2006: mysql> show databases; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 25 Current da...

compiling on Snow Leopard: i686-apple-darwin10-g++-4.0.1: language library.a not recognized

I'm compiling and linking against a library in Snow Leopard. I have never seen an error like it: i686-apple-darwin10-g++-4.2.1: language library.a not recognized I'm compiling an application to link statically with a proprietary library and wxWidget 2.9. Have anyone seen something like this before? ...

OSX Leopard HID getting simple keyboard input example?

Hi, I am about to implement simple keyboard and mouse input on osx for my engine. I want to abstract the implementation in more generic c++ classes like Keyboard and Mouse plus appropriate Listeners for portability. Anyways, I came across the Leopard HID Api (http://developer.apple.com/mac/library/technotes/tn2007/tn2187.html#TNTAG9000-...

Leopard/Snow Leopard, have to implement daytime server by using daemon?

Hi all, I find there is no daytime server available in leopard/snow leopard. And after reading some documents, the approach I can think of is writing a daemon and put it under /System/Library/LaunchDaemons, so that launchd can run it. I wonder if there is a way to just enable the service rather than writing a new one myself? Thanks in...

compiling iphone program in snow leopard wtih libsqlite3 library

Hi, I develop an iphone application which uses sqlite3 as a database. That time my OS X version was leopard. So add added libsqlite3.0.dylib to frameworks and compile without any problems it complied and with any problems I could run it on the device as well. This week I installed Snow Leopard on my Mac. Removing old Leopard version a...

Flash and AIR technologies on apple's computers

Hi, i saw couples of weeks ago some notes in adobe AIR website that they said adobe AIR will not be supported on Apple's devices like mac-book-pro, and am working on an application that will be made using adobe AIR and flash technologies and i have to make sure that it will works on apples computers ?? it's really important and i will...

Downloading iPhone SDK now that iOS is out

I need to develop a simple iPhone application, but the only Mac I have access to is running Leopard. This is no problem, I don't need to make an iOS 4 application, iPhone 3.2 will suffice. I problem is the SDK download has been removed form Apple's website. I cant find it anywhere! Is there anything I can do??? I really don't want to u...

mouseDown: event not recognized in NSImageView over subclass of NSView

Hi all, I am trying a simple drag and drop application. I have created a subview of NSView named: CameraIcon, which has an image view and certain text fields over it. In its mouseDown: method, I am initiating drag operation, I have also given a NSLog in it, so that I can notice in debugger when it is clicked. Problem is: when I ...

Why does Applescript run in Script Editor, but error when saved as Application?

My applescript needs to detect its own filename, and the following runs fine on Snow Leopard (10.6) set my_name to name of me as string display dialog "Name: " & my_name It displays "Name: AppleScript Editor" when I run it from AppleScript Editor, and it displays "Name: NewTest" when I save it as an application called NewTest. When I...

Leopard and Snow Leopard not rendering Flash blend mode properly

Using Flash 8, does anyone know why Mac Leopard operating system can’t render the ‘screen’ blend mode on movieclips containing bitmaps? See the screenshots for how it looks on all other operating systems compared to Leopard (splashes remain black and white). The browser used is irrelevant to this issue. Has anyone else experienced this...

No MouseUp:/Down: on custom view in NSSplitView on Leopard

I am currently working on a project build for OSX 10.5 and up. First of all, the 10.6 users do not see this; only 10.5 users have this issue. You are not able to reproduce this on 10.6. In short: when placing an custom extended class of NSView with an overload implementation of - (void)mouseUp:(NSEvent *)theEvent the mouseUp doesn't get...