bmoliveira / MarkdownKit

A simple and customizable Markdown Parser for Swift
MIT License
783 stars 136 forks source link

Fix AppStore "missing plist key" error when upload Carthage compiled framework #95

Closed ilia3546 closed 3 years ago

ilia3546 commented 3 years ago

I caught Transporter error when I tried to upload my app with MarkdownKit to the AppStore:

[Transporter Error Output]: ERROR ITMS-90057: The bundle 'Payload/MyApp.app/Frameworks/MarkdownKit.framework' 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

To solve this error I added CURRENT_PROJECT_VERSION & MARKETING_VERSION to the project settings. Also I set CFBundleShortVersionString - $(MARKETING_VERSION) in macOS/Info.plist to synchronize macOS and iOS version of framework.