First of all, I know the title matches This Question but they are very different.
I developed a TAXI app in Flutter that makes use of Wifi/Network, Google Map, Location(Geolocator) and background services for App Notifications.
The app was well accepted by Playstore but AppStore just wont accept it (3 times even with an appeal).
We noticed that your app uses HealthKit, but your app does not appear to include any primary features that require health or fitness data.
- My App Does not use this HealthKit
- My info.plist file has no record of this
- My App ID has not checked HealthKit
And now I am at my wits end because I have nothing else to do to this code to get it accepted.
Any help is highly appreciated.
APP ID FILE
INFO.PLIST FILE
2
Answers
Go to Xcode and check your app’s Signing & Capabilities Section. If you have Health Kit there then remove it.
You might also have a dependency which uses HealthKit, and if you are using this dependency directly, then this library will not be stripped from the final ipa. As a result, HealthKit is being included in your final package.
Do all this, then get back to me, and we’ll see what’s next.
The app review people seem to be able to detect all APIs that you use. From this answer:
So if they say you are using HealthKit, it probably means somewhere in your code, you are using it. It could be in an external framework or your own code, but the easiest way to see where is to do a
Command + Shift + F
and enter "Health", which will search your entire project for it. You can then remove any problematic code.