title: Apple keeps refusing our app because they claim it uses HealthKit?
body: <p>All I ask for is to know how to identify the problem, we didn't add any reference to the health kit, though all our tries ended up with refusing the app from Apple (over a month now).</p>
  
  <p>Their message:</p>
  
  <blockquote>
    <p>We noticed that your app uses HealthKit, but your app does not appear
    to include any primary features that require health or fitness data. </p>
    
    <p>The intended use of HealthKit is to share health or fitness data with
    other apps or devices, and it should be used only in apps that require
    this data as a part of the app's core functionality. </p>
    
    <p>Next Steps</p>
    
    <p>To resolve this issue, please remove any HealthKit functionality from
    your app, as well as any references to this app’s interactivity with
    HealthKit from the app or its metadata.</p>
  </blockquote>
  
  <p>here a screenshot of all the references in our iOS project:</p>
  
  <p><a href="https://i.stack.imgur.com/c7yvy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7yvy.jpg" alt="enter image description here"></a></p>
  
  <p>inf.plist:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;UIDeviceFamily&lt;/key&gt;
      &lt;array&gt;
          &lt;integer&gt;1&lt;/integer&gt;
          &lt;integer&gt;2&lt;/integer&gt;
      &lt;/array&gt;
      &lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;
      &lt;string&gt;ar&lt;/string&gt;
      &lt;key&gt;CFBundleLocalizations&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;en&lt;/string&gt;
          &lt;string&gt;ar&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;UIAppFonts&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;icon-font.ttf&lt;/string&gt;
          &lt;string&gt;DroidKufiRegular.ttf&lt;/string&gt;
          &lt;string&gt;DroidKufiBold.ttf&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;UISupportedInterfaceOrientations&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
          &lt;string&gt;UIInterfaceOrientationPortraitUpsideDown&lt;/string&gt;
          &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;UISupportedInterfaceOrientations~ipad&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;UIInterfaceOrientationPortrait&lt;/string&gt;
      &lt;/array&gt;
      &lt;key&gt;MinimumOSVersion&lt;/key&gt;
      &lt;string&gt;9.3&lt;/string&gt;
      &lt;key&gt;CFBundleDisplayName&lt;/key&gt;
      &lt;string&gt;my app&lt;/string&gt;
      &lt;key&gt;CFBundleVersion&lt;/key&gt;
      &lt;string&gt;24&lt;/string&gt;
      &lt;key&gt;CFBundleShortVersionString&lt;/key&gt;
      &lt;string&gt;2.2.1&lt;/string&gt;
      &lt;key&gt;UILaunchStoryboardName&lt;/key&gt;
      &lt;string&gt;LaunchScreen&lt;/string&gt;
      &lt;key&gt;CFBundleName&lt;/key&gt;
      &lt;string&gt;myApp&lt;/string&gt;
      &lt;key&gt;NSCameraUsageDescription&lt;/key&gt;
      &lt;string&gt;This app needs access to camera to capture product images when adding a new auction&lt;/string&gt;
      &lt;key&gt;NSPhotoLibraryUsageDescription&lt;/key&gt;
      &lt;string&gt;This app needs access to photo library to browse images when adding a new auction&lt;/string&gt;
      &lt;key&gt;NSPhotoLibraryAddUsageDescription&lt;/key&gt;
      &lt;string&gt;This app needs access to photo gallary to browse images when adding a new auction&lt;/string&gt;
      &lt;key&gt;XSAppIconAssets&lt;/key&gt;
      &lt;string&gt;Media.xcassets/AppIcons.appiconset&lt;/string&gt;
      &lt;key&gt;CFBundleIdentifier&lt;/key&gt;
      &lt;string&gt;com.company.myApp&lt;/string&gt;
      &lt;key&gt;NSContactsUsageDescription&lt;/key&gt;
      &lt;string&gt;This app requires contacts access to share the application between contacts&lt;/string&gt;
      &lt;key&gt;NSCalendarsUsageDescription&lt;/key&gt;
      &lt;string&gt;This app requires calnder access to show users thier orders schedule&lt;/string&gt;
      &lt;key&gt;NSMicrophoneUsageDescription&lt;/key&gt;
      &lt;string&gt;This app requires Microphone access to function properly&lt;/string&gt;
      &lt;key&gt;NSAppleMusicUsageDescription&lt;/key&gt;
      &lt;string&gt;This app requires Apple Music access to function properly&lt;/string&gt;
      &lt;key&gt;NSSiriUsageDescription&lt;/key&gt;
      &lt;string&gt;This app requires Siri access to function properly&lt;/string&gt;
      &lt;key&gt;NSBluetoothPeripheralUsageDescription&lt;/key&gt;
      &lt;string&gt;This app requires bluetooth access to function properly&lt;/string&gt;
      &lt;key&gt;UIRequiresFullScreen&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;
          &lt;true/&gt;
          &lt;key&gt;NSExceptionDomains&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;http://myapp.com&lt;/key&gt;
              &lt;dict&gt;
                  &lt;key&gt;NSExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
                  &lt;true/&gt;
                  &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
                  &lt;true/&gt;
                  &lt;key&gt;NSThirdPartyExceptionRequiresForwardSecrecy&lt;/key&gt;
                  &lt;false/&gt;
              &lt;/dict&gt;
          &lt;/dict&gt;
      &lt;/dict&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>Entitlements.plist:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;aps-environment&lt;/key&gt;
      &lt;string&gt;production&lt;/string&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>