receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

missing the required key: CFBundleShortVersionString & CFBundleVersion not defined

Open neckaros opened this issue 4 years ago • 5 comments

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"?

neckaros avatar Sep 09 '20 18:09 neckaros

any updates?

krabbenprgr avatar Sep 17 '20 19:09 krabbenprgr

I have the same issue.

itmammoth avatar Oct 30 '20 06:10 itmammoth

Same issue here

BrutalCoding avatar Nov 03 '20 02:11 BrutalCoding

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

niypoo avatar Feb 10 '21 19:02 niypoo

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

nero-angela avatar Jul 26 '21 08:07 nero-angela