Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFBundleVersion fix for 4.0.0 release #1784

Merged
merged 1 commit into from
Feb 18, 2017

Conversation

ivan-konov
Copy link
Contributor

@ivan-konov ivan-konov commented Feb 6, 2017

Here is a proposed sample fix for the problem with submitting builds to iTunes if CFBundleVersion has no value. The problem was that there was not value set for "Current Project Version" in the project settings an the Info.plist for the library targets had a value of $(CURRENT_PROJECT_VERSION).
I have used sample values just to illustrate the solution. Here is a useful read on CFBundleVersion - http://hboon.com/difference-between-cfbundleversion-and-cfbundleshortversionstring/

New Pull Request Checklist

  • I have read and understood the CONTRIBUTING guide

  • I have read the Documentation

  • I have searched for a similar pull request in the project and found none

  • I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

  • I have added the required tests to prove the fix/feature I am adding

  • I have updated the documentation (if necessary)

  • I have run the tests and they pass

  • I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...

Pull Request Description

...

… CFBundleVersion if set as in Info.plist files. In WebImage/Info.plist is set explicitly to 400.
@bpoplauschi bpoplauschi added this to the 4.1.0 milestone Feb 6, 2017
@skyline75489
Copy link
Member

Related to #1780

@bpoplauschi bpoplauschi merged commit cab3930 into SDWebImage:master Feb 18, 2017
bpoplauschi added a commit that referenced this pull request Feb 18, 2017
…tVersionString - same as for AFNetworking)
@bpoplauschi
Copy link
Member

Thanks @ivan-konov. I made a small change to your code, set CFBundleVersion to 4.0.0 so we match CFBundleShortVersionString (AFNetworking does the same).
This will help me when releasing new versions, make sure I change all the version numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants