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

Info.plist fixes #7123

Merged
merged 2 commits into from
Dec 8, 2020
Merged

Info.plist fixes #7123

merged 2 commits into from
Dec 8, 2020

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Dec 8, 2020

  • Add Info.plist to all static framework builds since SPM needs them in binary xcframeworks
  • Fix the version in generated Info.plist's
  • Simplify shell command logging to eliminate or make more rare a race condition crash

Tested by verifying zip and Carthage directory diffs

#no-changelog

let plist: [String: String] = ["CFBundleIdentifier": "com.firebase.Firebase-\(name)",
"CFBundleInfoDictionaryVersion": "6.0",
"CFBundleInfoDictionaryVersion": version,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this should be the pod version, this is the version of the Info.plist structure: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleinfodictionaryversion?language=objc

Instead I think we should change the CFBundleVersion and maybe even CFBundleShortVersionString

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! The 6.0 threw me off :)

Copy link
Member

@ryanwilson ryanwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@paulb777 paulb777 merged commit a2439c6 into master Dec 8, 2020
@paulb777 paulb777 deleted the pb-zip-fixes branch December 8, 2020 17:29
@firebase firebase locked and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants