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 is not valid for all platforms #1780

Closed
3 tasks done
ivan-konov opened this issue Feb 2, 2017 · 18 comments
Closed
3 tasks done

CFBundleVersion is not valid for all platforms #1780

ivan-konov opened this issue Feb 2, 2017 · 18 comments
Milestone

Comments

@ivan-konov
Copy link
Contributor

ivan-konov commented Feb 2, 2017

New Issue Checklist

Issue Info

Info Value
Platform Name iOS
Platform Version 10.2.1
SDWebImage Version 4.0.0
Integration Method carthage
Xcode Version Xcode 8.2.1
Repro rate 100%
Repro with our demo prj No

Issue Description and Steps

When submitted to iTunes Connect/TestFlight the archive is rejected because the CFBundleVersion does not have a value in the Info.plist.
"ERROR ITMS-90056: This bundle is invalid. Payload/YOUR_APP_HERE/Frameworks/SDWebImage.framework Info.plist file is missing the required key: CFBundleVersion"
I saw in the project that it is set to 1 for some platforms and is missing for others - especially iOS. It seems Apple have some new more strict rules for the provisioning and bundles metadata effective since yesterday. I'd suggest you maintain a better versioning for the project and it's targets.

@dungi
Copy link

dungi commented Feb 2, 2017

Same problem here

@bpoplauschi bpoplauschi added this to the 4.1.0 milestone Feb 3, 2017
@bpoplauschi
Copy link
Member

Let's see how we can fix this. I assume it's just missing from the Info.plist, even if that plist was generated by Xcode.

@ivan-konov
Copy link
Contributor Author

Yeah. I'd suggest you just go over all of the different targets' Build Settings and chamge Current Project Version value or go to the Info.plist an change it there. Just make sure all targets have one of these set to something meaningful to your progress on the project.

@omatty198
Copy link

Same problem...
I screamed and directly it edited. 😱
$(SRCROOT)/Carthage/Build/iOS/SDWebImage.framework/info.plist

2017-02-04 21 22 46

@dungi
Copy link

dungi commented Feb 5, 2017

So, do I have to change it manually?

@ivan-konov
Copy link
Contributor Author

@omatty198 I did the same thing :)

@bpoplauschi
Copy link
Member

Can any of you guys create a PR with this change?

@JKercheval
Copy link

I am using Carthage and am hitting this exact error - ERROR ITMS-90056: "This bundle .../SDWebImage.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."
Is there a workaround for this? Branch, fix - need help :)

@dungi
Copy link

dungi commented Feb 15, 2017

I checked out the pull request #1784
Worked fine for me

@bpoplauschi
Copy link
Member

Great guys.
@ivan-konov PR was merged into master.
Closing this.

@ivan-konov
Copy link
Contributor Author

Sure, glad to help!

@jfsagasti
Copy link

I've updated with latest version, but still happening...

@jfsagasti
Copy link

I've modified the Info.plist manually to make the upload as @omatty198 pointed out.

@ivan-konov
Copy link
Contributor Author

@jfsagasti by "update to the latest version" you mean cloning master branch or downloading latest release?

@jfsagasti
Copy link

You are right. Carthage picked the latest release I guess (I don't have "master" specified in the cartfile). Sorry for the oversight!

@ivan-konov
Copy link
Contributor Author

@jfsagasti If you are in a rush and need to submit soon I would suggest you stick to the manual change solution and not really rely on master as a stable codebase.

@jfsagasti
Copy link

That's exactly what I did, thanks! I needed to submit a new version today 👍

@mitch10e
Copy link

mitch10e commented Apr 5, 2017

I had this same problem today. Manually edited the SDWebImage.framework/Info.plist file to set the CFBundleVersion

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

No branches or pull requests

7 participants