Xcode codesign failed with exit code 1; expired certificates causing ambiguous matches

If you work with Xcode code signing long enough you’ll run into an error like this:

/usr/bin/codesign failed with exit code 1

If you view the build results (Build->Build Results), and expand the error message (there is a little paragraph button on the right-hand side of the line) you may see something like this:

iPhone Developer: Firstname Lastname (hashcode): ambiguous (matches "iPhone Developer: Firstname Lastname (hashcode)" in /Library/Keychains/System.keychain and "iPhone Developer: Firstname Lastname (hashcode)" in /Users/username/Library/Keychains/login.keychain)
Command /usr/bin/codesign failed with exit code 1

You have two certificates, with the same unique identifiers. One is in your login keychain and the other is in your system keychain. The real problem is, you probably have an expired certificate conflicting with your active certificate.
Continue reading “Xcode codesign failed with exit code 1; expired certificates causing ambiguous matches”

Getting a larger virtual monitor with a Mac hosted VirtualBox and Ubuntu guest

Ubuntu with 1024x768 screen in VirtualBox
Now that's a respectable 1024x764 Ubuntu view in VirtualBox on my MacBook.

I use VirtualBox on my Mac for “other” operating systems.

I was recently creating a new Ubuntu guest OS for doing some work with PostgreSQL on Linux. I like a GUI, so I was using pgAdmin. Normally I don’t care if the window is 800×600, but when I started using pgAdmin, I couldn’t see all of the window.

Continue reading “Getting a larger virtual monitor with a Mac hosted VirtualBox and Ubuntu guest”

Great week; two iPhone apps in the app store

It has been a great week. Two iPhone apps, which I’ve been working on, went into the app store: AccelGolf: Golf GPS Rangefinder and CU24 SURF ATM finder.

It has been a great week. Two iPhone apps, which I’ve been working on, went into the app store: AccelGolf: Golf GPS Rangefinder and CU24 SURF ATM finder.

I’ve only been working on AccelGolf: Golf GPS Rangefinder for a short time, but I’m having an ever-increasing role in it’s development. It’s an awesome tool for Golfers to track and improve their game. The introductory price of $4.99 is unbeatable, but won’t be available at that price for long! Find out more at AccelGolf. Or check it out in the App Store.

The SURF ATM Finder is an app I developed for a client as my own company, Whirlidoo (LLC is in the works). If you are a member of a surcharge free SURF Alliance Credit Union in Maine, you’ll appreciate this app. SURF ATM Finder is free in the App Store.

Show the UINavigationController Root View Controller in UITabBarController

A method for showing the UINavigationController Root View Controller in UITabBarController using introspection to determine class membership.

When programming on iPhone or iPad, it’s common to have a UITabBarController mixed with UINavigationController.

You will probably find yourself needing to show the Root View Controller of a Navigation Controller when you switch Tabs in the Tab Controller. Continue reading “Show the UINavigationController Root View Controller in UITabBarController”

Sample Avatar Headshots (in-progress)




avatar headshots

Originally uploaded by EricHolsinger

Here are some naked-mole-people style avatar headshots from the paper-doll avatar catalog which I’m building for my game.

So far I’ve made a few layers for different body colors, eyes, eye colors, and a few noses. Only one mouth so far.

I may need to browse through Foundation Flash Cartoon Animation from the Apress Friends Of Ed imprint for some more ideas on how to layer the pieces.

For example, I made one Anime style hair piece but the facing ear was under the hair because I have the whole body in one layer organized by fill color. This is going to be a problem when I add layers of clothing. Obviously the hands and facing ear will need to come forward and be in another layer.

If I add something like headphones, the far ear will also need to be in it’s own layer and one earphone will be in a layer covering it but under the shape of the face.

Oy vey!

Illustrator, I’m not a-scared of you anymore.

I’ve been wanting to make a paper-doll (wikipedia) style avatar selection for my game, but I’ve been baffled and overwhelmed by Adobe Illustrator in the past. Illustrator, or some vector based program, seems like the best choice because of the … well … vectors.

Being too timid to use Illustrator was obviously a problem. One option was to have someone else make it for me, or maybe I could borrow/buy one from some other person. In the end I realized I would need to buck up and get over my fear of Illustrator.

I’m happy to report that Illustrator is now my bitch. I am able to bend it’s anchors and paths and make it do my bidding. I can select groups and paste them front, send them back and forth in the layer as I will.

I owe it all to this fine, fine tutorial on how to make Killer Chainsaw Bunnies.

Second game preview




Second game preview

Originally uploaded by EricHolsinger

I’ve been working on the mechanics of the game more. I hope to have a limited mechanical preview available to some people to play test in about 2 weeks.

I had a really silly bug that looked like some Ajax wasn’t updating, and had the smell of a race condition. But it turned out that something should have been <= instead of just < in a query. Took me a while to find that.

early game preview

An early preview of things to come. Still working on a lot of the UI mechanics before trying to clean it all up and present it nicely.

Yii framework is working really, really well.

I hope to have a functioning game in early September. Lots to do after that, but my goal is to have it basically working before Boston Indies next month.

How do you get MySQL Administrator GUI to work with XAMPP on Mac OS X?

I had trouble getting MySQL GUI Adminstration tools to connect to my XAMPP installed MySQL database server on Mac OS X. This solution may help people who have the same problem and don’t know how to figure it out.

I’m working on a Mac with OS X 10.5.7 and a fresh XAMPP 1.0.1 install. XAMPP gives your OS X a complete Apache, MySQL and Perl/PHP installation to work with. With it, you can develop on your Mac with a complete web server. (Sure, Mac comes with most of this stuff built in, but XAMPP is really nice and allows you to have your Mac web services turned off for security.)

XAMPP also comes with phpMyAdmin for managing your MySQL server through a web page. I find phpMyAdmin to be awesome for most of what I do with a database. Sometimes I need to revert to command-line for large datafiles and stuff, but I’d say 99.9% of the time I can use phpMyAdmin for what I’m doing. I ran into a problem with phpMyAdmin trying to view a database table that was imported from an Excel export. For some reason, the phpMyAdmin page is just plain white – making me think there was some web/parsing/display problem involved. I needed a different way to view the DB. For this kind of thing I hate the command line. (The line wrapping…blech!)

Continue reading “How do you get MySQL Administrator GUI to work with XAMPP on Mac OS X?”