Apple продолжает отказывать в нашем приложении, потому что они утверждают, что оно использует HealthKit? - PullRequest
0 голосов
/ 27 марта 2019

Все, что я прошу, это знать, как определить проблему, мы не добавили никаких ссылок на аптечку, хотя все наши попытки заканчивались отказом от приложения Apple (более месяца).

Их сообщение:

Мы заметили, что ваше приложение использует HealthKit, но оно не содержит каких-либо основных функций, для которых требуются данные о здоровье или пригодности.

Предполагается, что HealthKit предназначен для обмена данными о работоспособности и фитнесе с другими приложениями или устройствами, и его следует использовать только в приложениях, которым эти данные являются частью основных функциональных возможностей приложения.

Следующие шаги

Чтобы решить эту проблему, удалите все функциональные возможности HealthKit из своего приложения, а также любые ссылки на интерактивность этого приложения с HealthKit из приложения или его метаданных.

вот скриншот всех ссылок в нашем проекте iOS:

enter image description here

inf.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>UIDeviceFamily</key>
    <array>
        <integer>1</integer>
        <integer>2</integer>
    </array>
    <key>CFBundleDevelopmentRegion</key>
    <string>ar</string>
    <key>CFBundleLocalizations</key>
    <array>
        <string>en</string>
        <string>ar</string>
    </array>
    <key>UIAppFonts</key>
    <array>
        <string>icon-font.ttf</string>
        <string>DroidKufiRegular.ttf</string>
        <string>DroidKufiBold.ttf</string>
    </array>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
    </array>
    <key>MinimumOSVersion</key>
    <string>9.3</string>
    <key>CFBundleDisplayName</key>
    <string>my app</string>
    <key>CFBundleVersion</key>
    <string>24</string>
    <key>CFBundleShortVersionString</key>
    <string>2.2.1</string>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>CFBundleName</key>
    <string>myApp</string>
    <key>NSCameraUsageDescription</key>
    <string>This app needs access to camera to capture product images when adding a new auction</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>This app needs access to photo library to browse images when adding a new auction</string>
    <key>NSPhotoLibraryAddUsageDescription</key>
    <string>This app needs access to photo gallary to browse images when adding a new auction</string>
    <key>XSAppIconAssets</key>
    <string>Media.xcassets/AppIcons.appiconset</string>
    <key>CFBundleIdentifier</key>
    <string>com.company.myApp</string>
    <key>NSContactsUsageDescription</key>
    <string>This app requires contacts access to share the application between contacts</string>
    <key>NSCalendarsUsageDescription</key>
    <string>This app requires calnder access to show users thier orders schedule</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>This app requires Microphone access to function properly</string>
    <key>NSAppleMusicUsageDescription</key>
    <string>This app requires Apple Music access to function properly</string>
    <key>NSSiriUsageDescription</key>
    <string>This app requires Siri access to function properly</string>
    <key>NSBluetoothPeripheralUsageDescription</key>
    <string>This app requires bluetooth access to function properly</string>
    <key>UIRequiresFullScreen</key>
    <true/>
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
        <key>NSExceptionDomains</key>
        <dict>
            <key>http://myapp.com</key>
            <dict>
                <key>NSExceptionAllowsInsecureHTTPLoads</key>
                <true/>
                <key>NSIncludesSubdomains</key>
                <true/>
                <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
                <false/>
            </dict>
        </dict>
    </dict>
</dict>
</plist>

Entitlements.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>aps-environment</key>
    <string>production</string>
</dict>
</plist>

1 Ответ

0 голосов
/ 02 апреля 2019

Мы могли бы решить эту проблему, изменив поведение канала на Только SDK Link Framework , мы пробовали это уже раньше, но эта ошибка появлялась:

Не удается разрешить ссылку 'System.Void Xamarin.Forms.Log :: Warning (System.String, System.String) ', ссылка из метода 'System.Void Xamarin.Forms.Pages.BaseDataSource / d__22 :: MoveNext () 'in 'Xamarin.Forms.Core, версия = 2.0.0.0, культура = нейтральная, PublicKeyToken = NULL».

Мы установили пакет Xamarin.Forms.Pages в проект iOS, и проект был успешно собран, и приложение было принято от Apple - наконец.

...