hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.14k stars 188 forks source link

CFBundleVersion is missing - AppStore delivery #41

Closed Li-Bot closed 4 years ago

Li-Bot commented 4 years ago

When I try to upload an app to AppStore which uses Resolver framework, I get ITMS error 90056.

"This bundle Payload/some.app/Frameworks/Resolver.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."

I checked Info.plist and there is "CFBundleVersion: $(CURRENT_PROJECT_VERSION)", then I checked "CURRENT_PROJECT_VERSION" variable in build settings and it is empty.

As soon as you fill the field, the error goes away.

Li-Bot commented 4 years ago

I created a pull request for this issue: https://github.com/hmlongco/Resolver/pull/42

hmlongco commented 4 years ago

Merged PR