I have had a similar problem with my iPhone 5, also had it with my iPhone 4 ... I posted in the iPhone5 forum under the title "Cable causes acoustic beep, seems to short"
If any of us find the solution it would be great if we could let each other know. If I find a solution I'll look for similar postings and add my findings.