I recently had an app rejected because of reason - Non-public API usage: Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6.
I have used google analytics iOS v2 in this app, is it causing this problem?