Reworked Kevin's fix to not use a custom pom attribute.

Tested working in Xcode 4 and 5.