2017-05-02 2 views
2

je tentais de valider l'application avant de le télécharger à Apple avec la nouvelle version et je reçois cette erreur:Le info.plist dans le paquet doit contenir la clé CFBundleVersion

« Le info.plist dans le paquet doit contenir la clé CFBundleVersion. "

Mais quel paquet? Cela pourrait-il être lié à un cadre?

Les deux touches sont dans le fichier, donc je ne sais pas ce qui se passe

<?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>CFBundleDevelopmentRegion</key> 
     <string>en</string> 
     <key>CFBundleDisplayName</key> 
     <string>${PRODUCT_NAME}</string> 
     <key>CFBundleExecutable</key> 
     <string>${EXECUTABLE_NAME}</string> 
     <key>CFBundleIdentifier</key> 
     <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> 
     <key>CFBundleInfoDictionaryVersion</key> 
     <string>6.0</string> 
     <key>CFBundleName</key> 
     <string>${PRODUCT_NAME}</string> 
     <key>CFBundlePackageType</key> 
     <string>APPL</string> 
     <key>CFBundleShortVersionString</key> 
     <string>2.0</string> 
     <key>CFBundleSignature</key> 
     <string>????</string> 
     <key>CFBundleVersion</key> 
     <string>2.0</string> 
     <key>Fabric</key> 
     <dict> 
      <key>APIKey</key> 
      <string></string> 
      <key>Kits</key> 
      <array> 
       <dict> 
        <key>KitInfo</key> 
        <dict/> 
        <key>KitName</key> 
        <string>Crashlytics</string> 
       </dict> 
      </array> 
     </dict> 
     <key>ITSAppUsesNonExemptEncryption</key> 
     <false/> 
     <key>LSApplicationQueriesSchemes</key> 
     <array> 
      <string>comgooglemaps</string> 
     </array> 
     <key>LSRequiresIPhoneOS</key> 
     <true/> 
     <key>UIAppFonts</key> 
     <array> 
      <string>ProximaNova-Light.otf</string> 
      <string>ProximaNova-Semibold.otf</string> 
      <string>ProximaNova-Regular.otf</string> 
      <string>ProximaNova-LightItalic.otf</string> 
     </array> 
     <key>UIBackgroundModes</key> 
     <array> 
      <string>remote-notification</string> 
     </array> 
     <key>UIFileSharingEnabled</key> 
     <true/> 
     <key>UILaunchStoryboardName</key> 
     <string>LaunchScreen</string> 
     <key>UIMainStoryboardFile</key> 
     <string>Main</string> 
     <key>UIRequiredDeviceCapabilities</key> 
     <array> 
      <string>armv7</string> 
     </array> 
     <key>UIStatusBarStyle</key> 
     <string>UIStatusBarStyleLightContent</string> 
     <key>UISupportedInterfaceOrientations</key> 
     <array> 
      <string>UIInterfaceOrientationPortrait</string> 
     </array> 
     <key>UISupportedInterfaceOrientations~ipad</key> 
     <array> 
      <string>UIInterfaceOrientationPortrait</string> 
      <string>UIInterfaceOrientationPortraitUpsideDown</string> 
      <string>UIInterfaceOrientationLandscapeRight</string> 
      <string>UIInterfaceOrientationLandscapeLeft</string> 
     </array> 
     <key>UIViewControllerBasedStatusBarAppearance</key> 
     <true/> 
    </dict> 
    </plist> 
+0

S'agit-il d'une application native et créez-vous l'archive à l'aide des options de menu ou d'un outil? Je l'ai déjà eu lors de l'utilisation de xcodebuild – lostInTransit

+0

J'utilise Xcode 7.3.1 pour archiver l'application –

Répondre

2

Parfois, iTunes se connecte conflits vous la version bundle avec celui téléchargé (même si elle n'est pas publié), si simplement en se cognant votre version actuelle de 2.0 à 2.1 ou 3.0 pourrait résoudre votre problème, lisez ceci post pour en savoir plus sur tout autre problème possible.