Seite 1 von 1

Unter iOS10 kann ich keine APP mehr in den Store stellen

Verfasst: 8. Oktober 2016, 16:15
von satmax
Seit iOS10, denke ich zumindest, bekomme ich nach einem Programmupload immer folgende Mail vom AppStore:

Dear developer,
We have discovered one or more issues with your recent delivery for "APP-NAME". To process your delivery, the following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
Though you are not required to fix the following issues, we wanted to make you aware of them:
Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profile that includes the aps-environment entitlement. This will create the correct signature, and you can resubmit your app. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
Once the required corrections have been made, you can then redeliver the corrected binary.
Regards,
The App Store team

Kennt das Problem jemand?

Re: Unter iOS10 kann ich keine APP mehr in den Store stellen

Verfasst: 8. Oktober 2016, 16:49
von satmax
Workaround, ich habe am iMac die Projektdatei info.plist editiert und am Ende die Fett markierten Zeilen eingefügt:

<key>NSCalendarsUsageDescription</key>
<string>NSCalendarsUsageDescription</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>NSPhotoLibraryUsageDescription</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>NSBluetoothPeriphealUsageDescription</string>
<key>NSCameraUsageDescription</key>
<string>NSCameraUsageDescription</string>

</dict>
</plist>

Nur muss man das vor jedem erstellen eines Archives neu machen, ist also suboptimal, aber funktioniert. Die Zeilen habe ich mit dem XCode Editior hinzugefügt. Dann habe ich mir die Datei info.plist in ein Backupverzeichnis gesichert. Dann brauche ich bei einer Neuerstellung nur den fett markierten Teil in die neue erstellte info.plist hineinkopieren.

Eventuell hilft es ja jemanden... Bin gespannt wie lange PCSoft braucht um das zu fixen. Achja, meine App verwendet diese Sachen nicht (Bluetooth, Camera,...)

Re: Unter iOS10 kann ich keine APP mehr in den Store stellen

Verfasst: 10. Oktober 2016, 14:01
von satmax
Wahnsinn, da kann sich mancher Hersteller etwas abschauen, hier ist der offiziell FIX (hatte noch keine Zeit den zu testen):

http://faq.windev.com/13544-xcode_xcode ... 0-read.awp