mac

JAR file not opening on a Mac

Hi guys, I have been trying to open a JAR file on my Mac with no success. It says the JAR file could not be opened and asks me to look for any error messages in my console. Here are the console messages, I suspect the prob is in the first line itself, but I am not from software background, so don't know if this is enough for anyone who ...

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...

Is Mono for OS X any good for a professional .NET developer?

As a professional .net developer (at least this is how I earn my money) I wonder if Mono for the Mac is worth a closer look. I already tried Mono 3 years ago when I first got my iMac but the installation was impossible to master and after half a day I just gave up. I also got help from a Unix professional but we both were unable to get M...

Unable to install Meld by MacPorts

I found that other people too have had trouble in installing Meld to Mac by MacPorts. I run sudo port install meld I get sudo port install meld ---> Activating shared-mime-info @0.60_0 Error: Target org.macports.activate returned: Image error: /opt/local/bin/update-mime-database already exists and does not belong to a registered...

Unable to diff dot-files in Mac's FileMerge

I have set my FileMerge not to ignore any file. However, it ignores my dotFiles. How can you make FileMerge to diff dotFiles? ...

FSEvents weirdness on OS X Leopard

I want to monitor file-system events for a couple of directories on the mac. The directories I want to monitor might change at runtime, so using FSEvents here's what my app does: creates a global callback function to handle callbacks create a new FSEventStreamRef per folder, associating it with the callback created above and adding a c...

If I install the 3.0 SDK, can I still make 2.0 compatible apps?

I've been putting off installing the 3.0 beta SDK in case I can't make apps to target 2.0. If I install 3.0 on my computer and iPhone, will I still be able to submit apps to the app store for users with 2.0 iPhones to download? Will I have to wait until 3.0 is released to submit more apps? ...

Unable to install Linux's rename to Mac

I read the tutorial which advises me to run at util-linux package ./configure I get configuring util-linux-2.12q You don't have <scsi/scsi.h> You don't have <linux/blkpg.h> You don't have <linux/kd.h> You have <locale.h>You have <langinfo.h> You have <sys/user.h> You have <uuid/uuid.h> You have <rpcsvc/nfs_prot.h> You don't have ...

Mac OS X Java SDK Support

Can anyone tell me, or send me to a page, that can tell me what version of Java that a Mac OS X supports out of the box? I know for instance 10.5 comes with Java 1.5 installed by default. what about 10.4? 10.3? 10.2? 10.1? My app needs to be cross platform and I need to figure out what Java version to use to build my Java code. This wo...

I need a screenshot from a mac for an AIR app

Can a kind-hearted mac user please spare a few moments to take a couple of screenshots of my first adobe air app and post it? Here is the link http://www.webdigi.co.uk/blog/apps/dreamhost-controller-using-api/. I have not tested my app on a mac but Adobe says it should work! ...

Unable to change where Git is loaded in Mac

I have MacPorts' Git at /opt/local/bin/git, while the newest Git at /opt/local/git. My PATH command export PATH=/usr/local/git:/opt/local/bin:/opt/local/sbin:/Users/Masi/.cabal/bin:/Users/Masi/.cabal/bin/xmonad:$PATH The command echo $PATH gives me /usr/local/git:/opt/local/bin:/opt/local/sbin:Users/Masi/.cabal/bin:/Users/Sam/.ca...

Unicode problems in PyObjC

I am trying to figure out PyObjC on Mac OS X, and I have written a simple program to print out the names in my Address Book. However, I am having some trouble with the encoding of the output. #! /usr/bin/env python # -*- coding: UTF-8 -*- from AddressBook import * ab = ABAddressBook.sharedAddressBook() people = ab.people() for person...

Can you develop Windows Mobile applications on OS X?

Is it possible to develop an application for a Windows Mobile device, on Mac OS X? This question mostly due to this answer, criticising Apple for only releasing the iPhone developer tools for the Mac platform.. I'm simply curious if this is possible or not, hopefully an Apple-vs-Microsoft argument can be avoided! There are similar ques...

USB Hierarchy Driver

Is it possible to create a driver (windows/mac) for a custom usb hub such that it appears as one device in My Computer / Finder and the attached usb card readers each show up as a sub-folder within that device? Any pointers to the right direction to look at would be appreciated. ...

Creating a bundle - What's going wrong?

Hello everyone, I've got a relatively simple one here. I'm making bundles to live inside the Resources folder of my application (and possibly in the Application Support folder). These bundles will contain template information for the data the application handles. I've constructed a bundle, with extension "booksprintstyle", and the direct...

Marking file as executable on OSX using C (Carbon, standard C/C++)

I'm looking for a way to programatically set the 'executable' bit on a file on OS X. I don't want to invoke 'chmod a+x' but I want the same effect as the chmod call. Any suggestions? A carbon API or any other C/C++ function would work... ...

best way to start learning Cococa in iPhone or OSX, espeicaly getting the big picture

Hi all, So I started my iPhone programming and have just uploaded my first game to the app store. However, I took the C++ & OpenGL & openFrameworks route, hence I am still entirely a newbie to the Cococa, Objective-C and the "authentic" Apple developer world. Right now I am learning through Beginning iPhone Development by Dav Mark, Jef...

Iphone SDK on Windows (alternative solutions)

I know there is no official SDK for windows, which is very annoying. Is there any way to develop applications on a windows computer, other than somehow running a mac os in vmware? I know you can do it with Xcode, but that is also only for macs. Google searches have revealed absolutely nothing...... If I cannot use the SDK or Xcode, any ...

programmatically recording sound sent to Built-in Output, Mac OS X

I have a conundrum: I need to find a way to capture the raw audio data that is being piped to the Built-in Output on Mac OS X. Core Audio, HAL, etc. I can "listen" in on the Built-in Output and the mic, but neither of these appear to offer the correct data stream - the exact stream (all combined data from all input sources) that goes ...

cannot ffmpeg-php mac os x leopard

has anyone been able to install ffmpeg-php on osx? i was able to install ffmpeg via mac ports. ffmpeg-php wont install. problems: cannot find shared directory because macports installs it to /opt/local/include/ and /opt/local/lib. ffmpeg-php looks in /usr/local/include/ffmpeg phpize returns a whole bunch of warnings, not sure if thi...