One app in App Store with gps and without gps.

Hello,
We are have a message in App Store
"This app require specific features not available on this device." on wi-fi devices.
I need to make one application in the App Store. Which could be installed on wi-fi + Cellular devices, the plist set the Required device capabilities gps setting, and the same application does not have the Required device capabilities gps setting on devices with only wi-fi.
How to do it?

Thanks.