Can not charge iPhone 5 from Macboook after Mavericks upgrade
I contacted Apple with the same problem and it turns out it was my cord.
You can test this by trying it with another cable you have.
If it then works you know it was the cable and you might have to buy a new one or if it's in warranty you can get it replaced for free.

Best Wishes!