SocketRocket icon indicating copy to clipboard operation
SocketRocket copied to clipboard

Error ITMS-90056: Info.plist file is missing the required key: CFBundleVersion

Open dstarke opened this issue 9 years ago • 13 comments

When built from master, the framework cannot be included in an app store submission. ITMS returns the error ITMS-90056 and reports that the Info.plist file is missing the CFBundleVersion key.

It looks like this may be caused by an earlier change that updated all the targets to use shared configurations. Prior to that, the build configurations set a CURRENT_PROJECT_VERSION build variable (it was set to 1), and the Info.plist sets the CFBundleVersion to the value of that build variable. However, the .xcconfig files do not set CURRENT_PROJECT_VERSION, so the built framework's CFBundleVersion is empty.

There are two easy fixes: either update the configurations to set CURRENT_PROJECT_VERSION, or update the Info.plist so that CFBundleVersion is set to a valid value instead of $(CURRENT_PROJECT_VERSION)

dstarke avatar Jan 23 '17 19:01 dstarke

+1

Droppix avatar Feb 16 '17 10:02 Droppix

+1

RickOHara avatar Aug 14 '17 17:08 RickOHara

+1

hatdragon avatar Aug 16 '17 03:08 hatdragon

+10

SjoerdPerfors avatar Aug 28 '17 13:08 SjoerdPerfors

+1

lswith avatar Aug 31 '17 00:08 lswith

I set it but it doesn't work. it is still report same error

WFNeIn avatar Sep 25 '17 12:09 WFNeIn

++

dzenbot avatar Mar 01 '18 04:03 dzenbot

+1 I am facing exact same issue. Did anybody resolve this issue?

sanoj00b avatar Sep 13 '18 10:09 sanoj00b

We are checking out the commit in https://github.com/facebook/SocketRocket/pull/535 that fixes this issue.

dzenbot avatar Sep 14 '18 06:09 dzenbot

@dzenbot I am pointing to master currently but still I am facing same issue. Is that fix is not yet merged? ERROR ITMS-90056: "This bundle Payload/MyApp.app/Frameworks/SocketRocket.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."

sanoj00b avatar Sep 19 '18 12:09 sanoj00b

It's is a regression in master. You should check the commit from the PR I posted.

dzenbot avatar Sep 19 '18 23:09 dzenbot

@dzenbot That PR (https://github.com/facebook/SocketRocket/pull/535) is open or are you referring any other one? please mention the commit id. Please let me know. I am blocked and cant push the app to app store.

sanoj00b avatar Oct 09 '18 09:10 sanoj00b

@ I resolved it by adding the missing version created framework by Carthage.

sanoj00b avatar Dec 20 '18 11:12 sanoj00b