Added libidn to the frameworks, and make sure they're build in order.