You can use this command to get UDID
system_profiler SPHardwareDataType | awk '/Provisioning/{print $NF}'
Then need register this UDID at the developer.apple.com portal as mac and iPod.
It works for me.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: