Skip to content

Move non-legacy examples to Swift Package Manager - #1666

Merged
ncooke3 merged 64 commits into
nc/quickstartsfrom
mc/spm
Sep 22, 2025
Merged

ncooke3 merged 64 commits into
nc/quickstartsfrom
mc/spm

Conversation

@morganchen12

@morganchen12 morganchen12 commented Jan 23, 2025 •

Copy link
Copy Markdown
Contributor

@ncooke3: I think this is in a good state to merge. Main repo testing is looking good: firebase/firebase-ios-sdk#15338

Overall plan:

  • Migrate non-legacy quickstarts to SPM-only quickstarts (this PR)
  • Remove legacy quickstarts (next PR)
    • Remove CocoaPods CI infra as well
  • Remove objc quickstarts from non-legacy projects (next PR)
  • firebase-ios-sdk: Ensure we have sufficient ObjC API build tests
  • firebase-ios-sdk: Remove concept of legacy quickstart in firebase repo's qs testing ci infra
  • Update QA testing instructions

@morganchen12
morganchen12 force-pushed the mc/spm branch 6 times, most recently from ecc3c6f to 3fbefa2 Compare January 24, 2025 00:14
@morganchen12
morganchen12 force-pushed the mc/spm branch 2 times, most recently from c1950a9 to 8ac405a Compare January 27, 2025 23:37
@morganchen12
morganchen12 force-pushed the mc/spm branch 2 times, most recently from bacbb70 to 03f0619 Compare January 28, 2025 00:08
@ncooke3

ncooke3 commented Sep 18, 2025

Copy link
Copy Markdown
Member

checkpoint

@ncooke3

ncooke3 commented Sep 19, 2025

Copy link
Copy Markdown
Member

checkpoint

Comment thread .github/workflows/analytics.yml Outdated
Comment thread .github/workflows/authentication.yml Outdated
Comment thread .github/workflows/config.yml Outdated
Comment thread .github/workflows/firestore.yml Outdated
Comment thread .github/workflows/inappmessaging.yml Outdated
Comment thread .github/workflows/installations.yml Outdated
Comment thread .github/workflows/messaging.yml Outdated
Comment thread .github/workflows/performance.yml
Comment thread .github/workflows/database.yml
Comment thread .github/workflows/performance.yml Outdated

@paulb777 paulb777 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice!

None of my comments are blocking.

Any thoughts about an alternative or update to the dpebot to automatically update Firebase dependencies for SPM instead of CocoaPods?

Comment thread .github/workflows/abtesting.yml

env:
SPM: false
SPM: true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the SPM environment variable still needed?

Comment thread .github/workflows/authentication.yml
- name: Checkout
uses: actions/checkout@master
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should the xcode-select be migrated to one of the common scripts?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Definitely. Will do in future PR.

Comment thread .github/workflows/crashlytics.yml
@ncooke3
ncooke3 changed the base branch from main to nc/quickstarts September 22, 2025 14:48
@ncooke3

ncooke3 commented Sep 22, 2025

Copy link
Copy Markdown
Member

Thanks @paulb777 for review! I'm going to merge this in another feature branch as there is more related work to be done in removing theobjc qs and cleaning up the infra scripts.

Any thoughts about an alternative or update to the dpebot to automatically update Firebase dependencies for SPM instead of CocoaPods?

This could be a GitHub Action that does a PR update and is triggered by the publishing of a firebase-ios-sdk tag. I know we could accomplish with vanilla GHA, but dpebot may also be able to do it.

@ncooke3
ncooke3 merged commit ef1c911 into nc/quickstarts Sep 22, 2025
49 of 52 checks passed
@ncooke3
ncooke3 deleted the mc/spm branch September 22, 2025 14:58
@ncooke3 ncooke3 mentioned this pull request Sep 23, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants