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

refactor!(SPM): rename Swift package from CordovaLib to Cordova #1520

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

dpogue
Copy link
Member

@dpogue dpogue commented Jan 16, 2025

Platforms affected

iOS

Description

This ends up being less confusing for everyone because the resulting framework is named Cordova.framework and the header paths are all <Cordova/*.h> but currently you need to reference the Swift dependency as "CordovaLib" rather than "Cordova".

As far as I can tell from a quick search of public Package.swift files on GitHub, nobody has actually consumed this as a Swift package, so any breakage should be minimal and we should take the opportunity to do this right as part of the major version bump.

Testing

Existing tests pass.

Checklist

  • I've run the tests to see all new and existing tests pass

This ends up being less confusing for everyone because the resulting
framework is named Cordova.framework and the header paths are all
<Cordova/*.h> but currently you need to reference the Swift dependency
as "CordovaLib" rather than "Cordova".

As far as I can tell from a quick search of public Package.swift files
on GitHub, nobody has actually consumed this as a Swift package, so any
breakage should be minimal and we should take the opportunity to do this
right as part of the major version bump.
@dpogue dpogue added this to the 8.0.0 milestone Jan 16, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.34%. Comparing base (82c1767) to head (d3bfa6f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1520   +/-   ##
=======================================
  Coverage   81.34%   81.34%           
=======================================
  Files          16       16           
  Lines        1855     1855           
=======================================
  Hits         1509     1509           
  Misses        346      346           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@erisu erisu left a comment

Choose a reason for hiding this comment

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

LGTM

@dpogue dpogue merged commit 7fa0b8c into apache:master Jan 16, 2025
11 checks passed
@dpogue dpogue deleted the pkg-name branch January 16, 2025 15:58
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.

3 participants