Disable iPhoto opening automatically

Every time I connected my iPhone or iPad to my Mac, iPhoto popped up with an import dialog. Then I figured it how to disable it for good.

Every time I connect my iPhone to my Mac, iPhoto pops up with an import dialog. I tried turning it off, but it keeps coming up every time my iPhone or iPad is connected. Then I figured it how to disable it for good.

iPhoto automatic import iPhone and iPad
By: Sean MacEntee

Continue reading “Disable iPhoto opening automatically”

Xcode, incrementing build numbers and version numbers for releases

How to add a build number increment phase to you ios project in xcode

By: Procsilas Moscas

I like nice neat build numbers. I don’t like manually maintaining text fields.

To that end, I modified a nice lead on a build number increment script to suit my needs. Maybe it will help you, too.
Continue reading “Xcode, incrementing build numbers and version numbers for releases”

How to remove beta Xcode now that XCode has been released

How to uninstall beta versions of Xcode from your Mac.

Xcode

Now that iTunes 10.5, iOS5 and the new Xcode have been released, it is worth mentioning that to uninstall any beta installation you had, you should use the uninstaller.


sudo <Xcode>/Library/uninstall-devtools --mode=all

Where <Xcode> is the directory where you installed the beta Xcode.

I usually install the different versions into different directories (/Developer, /Developer5b3 etc).

Video explaining steps to fix Xcode codesign failed with exit code 1; expired certificates causing ambiguous matches

Xcode codesign failed with exit code 1; expired certificates

I’ve been getting a lot of comments about how to fix the Xcode codesign failed with exit code 1; expired certificates causing ambiguous matches. This problem is such a time sink that I suspect it really helps to have someone explain the simple solution for resolving it.

To make it easier for those who’d rather hear how to solve it, I made a short video explaining the solution.

I appreciate the feedback and I’m glad to help.

And thanks to everyone who’s helped me.

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”

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”