Is there a way to simulate shake on iPhone?
Open System Preferences
Go to General > Accessibility > Assistive Touch 
Turn assistive touch on
Then, an icon that looks like: 




Will pop up somewhere on you screen. Tap it. Then:


Tap device
Tap more
and finally tap shake


Hope that helps!