Ionic 2 ios itunes connect upload problem

Hi,

I create my application with ionic 2, everything ok then I was archives and send with “upload to app store”

I open Itunes Connect -> Activity Menu -> I see my app in there verison number and write (processing)

I do refresh for see processing status then my build delete in menu

How I upload ? what is wrong ?

My system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.43
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.2
Xcode version: Xcode 8.2.1 Build version 8C1002

Apple send me this ; I dont understand what am I doing?

My name is Gary. Thank you for contacting Apple Developer Program Support in regard to your recently uploaded build not appearing in iTunes Connect.

I see the reason your build is not appearing in iTunes Connect is because there was an import error. The following information should help you resolve this issue.

Starting with iOS 10, purpose strings are required for access to any protected class of data from within your app, including usage of those protected data classes by any third-party library your app uses. If you’re receiving a message about a missing purpose string for a data class that you don’t recognize, consult with your third-party library vendors about their usage of that protected data class.

For more detailed information, consult the following resources:
App Programming Guide for iOS: Supporting User Privacy

Information Property List Key Reference: Cocoa Keys

WWDC 2016: Engineering Privacy for Your Users (usage description keys discussed at 29:14)

What plugins are you using?
This is a feature in ios that has been around for a while and chances are, you’re just missing it.

For example, if you have the camera plugin, read this

Short: you have to reinstall the plugin with the following variables added.

ionic plugin add cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="Reasons why we want to use the camera" --variable PHOTOLIBRARY_USAGE_DESCRIPTION="Why we want photo library access" --save

It’s a fairly simple update to do, just need to review your plugins and their github readme.

https://developer.apple.com/videos/play/wwdc2016/709/

I using phonegapp plugin barcode and I doing what you say and problem fixed thank you