Syncing to a new computer and it's not working!!! Help me!!!!

I have an iPhone 5 that is synced to my family computer which is a Windows PC. I wanted to sync it to my Macbook but everytime I connect my iPhone to my Mac, it flips out. It connects and disconnects like a billion times  and it just keeps flashing. One second it's charging and the other second it's not. It just keeps doing that. I have no idea why. On my Mac, there is a popup that says that iTunes could not connect to this device and the popup does not go away!!! I had to shut my Mac down just to get rid of it.
I'm really confused and I have no idea what to do???
Help me!!!!

Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

Similar Messages

Maybe you are looking for