KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
334 stars 391 forks source link

missing the required key: CFBundleShortVersionString & CFBundleVersion not defined #84

Open neckaros opened 4 years ago

neckaros commented 4 years ago

Since upgrading to Flutter 1.20.3 i can build without issue but not publish to the apple store:

App Store Connect Operation Error
ERROR ITMS-90057: "The bundle 'Payload/Runner.app/PlugIns/Share Extension.appex' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"
App Store Connect Operation Error
ERROR ITMS-90056: "This bundle Payload/Runner.app/PlugIns/Share Extension.appex is invalid. The Info.plist file is missing the required key: CFBundleVersion. Please find more information about CFBundleVersion at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion"

despite having a Info.plist for the extension that contains the correct variables:

      <key>CFBundleShortVersionString</key>
        <string>$(FLUTTER_BUILD_NAME)</string>
        <key>CFBundleVersion</key>
        <string>$(FLUTTER_BUILD_NUMBER)</string>

I manually set the values instead of the variables and it works but any idea how to fix that more "cleanly"?

krabbenprgr commented 4 years ago

any updates?

itmammoth commented 4 years ago

I have the same issue.

BrutalCoding commented 4 years ago

Same issue here

niypoo commented 3 years ago

same issue here !! anyone have solved this issue ??

nero-angela commented 3 years ago

I solved with https://github.com/flutter/flutter/issues/71262#issuecomment-736154319