I have iphone5. I bought a 10 foot lighting cord from the apple store a few months ago and it worked great. I recently updated to iOS7 and it now works intermittenly. I get the error message that the accessory is not supported. Is it the cord or my phone?