Skip to content

Fix zip bloat issue #10183

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

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Fix zip bloat issue #10183

merged 1 commit into from
Sep 7, 2022

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Sep 7, 2022

#10073 exposed an existing bug caused by conflating framework names and pod names, which led to FBLPromises.xcpromises being duplicated in every zip folder, eg

Only in Firebase/FirebaseInAppMessaging: FBLPromises.xcframework
Only in Firebase/FirebaseMLModelDownloader: FBLPromises.xcframework
Only in Firebase/FirebaseMessaging: FBLPromises.xcframework
Only in Firebase/FirebasePerformance: FBLPromises.xcframework
Only in Firebase/FirebaseRemoteConfig: FBLPromises.xcframework
Only in Firebase/FirebaseStorage: FBLPromises.xcframework
...

This PR fixes the issue by identifying the variable correctly as frameworksToIgnore and comparing against frameworks instead of pods.

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@paulb777 paulb777 requested a review from ncooke3 September 7, 2022 21:40
@paulb777 paulb777 merged commit 5b622de into master Sep 7, 2022
@paulb777 paulb777 deleted the pb-zip-bloat branch September 7, 2022 23:05
akmarinov pushed a commit to combyne/firebase-ios-sdk that referenced this pull request Sep 29, 2022
…nto inapp-customization

* 'release/9.6.0' of github.com:combyne/firebase-ios-sdk: (116 commits)
  Fix typo (firebase#10196)
  Fix zip bloat issue (firebase#10183)
  Add All and Infrastructure as product options (firebase#10185)
  [v9.6.0] Update CHANGELOGs for macOS keychain fix (firebase#10181)
  Add API tests for Analytics.sessionID() (firebase#10178)
  [CoreInternal] Add explicit generics typing for Array.Index usage (2) (firebase#10176)
  [Infra] Commits should exclude .build/ folder from nested dirs (firebase#10180)
  [Messaging] macOS keychain auth prompt fix (firebase#10166)
  Analytics 9.6.0 (firebase#10177)
  Fix index backfilling frequency (firebase#10173)
  Add protos for COUNT (firebase#10175)
  Fix name collision with "result" in pretty printing logic in generated proto code. (firebase#10169)
  firestore_client.cc: increase the kRegularBackfillDelay from 1ms to 1000ms (firebase#10170)
  [Core] Link WatchKit for watchOS (firebase#10157)
  [Core] Support watchOS lifecycle notifications (firebase#10112)
  Move zip and prerelease nightlies early (firebase#10152)
  Update versions for Release 9.6.0 (firebase#10145)
  [MLModelDownloader] Disable keychain-dependent tests on macCatalyst and macOS (firebase#10148)
  [AppCheck] Disable tests that use keychain (firebase#10146)
  Fix priority inversion issue exposed by Xcode 14 (firebase#10144)
  ...
@firebase firebase locked and limited conversation to collaborators Oct 8, 2022
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.

3 participants