I have found and 'fixed' my problem.
The device should be set to iPad or Universal in order an iPad to detect the shake motion. It may be obvious (but apparently I have missed it) ... I wanted to produce just a sample application and I have forgotten to change the default setting from 'iPhone' to 'iPad'.