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

IOS-9013 Combine mistica into a single package to prevent duplicated symbols when importing Mistica and MisticaSwiftUI #283

Merged
merged 2 commits into from
May 30, 2023

Conversation

pbartolome
Copy link
Contributor

🎟️ Jira ticket

IOS-9013

🥅 What's the goal?

As explained in the document https://confluence.tid.es/display/CTO/%5BAPPS%5D+Shared+Spec%3A+Mistica+iOS+issues+with+duplicated+symbols, the current Package.swift creates two libraries Mistica and MisticaSwiftUI with the same MisticaCommon code added to each library. This causes duplicated symbols and unexpected behaviour when importing the two libraries in the same target.

🚧 How do we do it?

Combine all Modules into a single Mistica library.

🧪 How can I verify this?

Run and build a project that uses Mistica and MisticaSwiftUI (E.g. MisticaCatalog), check that there are no longer duplicated symbols.

…symbols when importing Mistica and MisticaSwiftUI
@pbartolome pbartolome requested review from a team, salavert and idenjoe and removed request for a team May 29, 2023 11:31
@pbartolome pbartolome merged commit 10179e6 into main May 30, 2023
@pbartolome pbartolome deleted the single-package branch May 30, 2023 10:44
tuentisre pushed a commit that referenced this pull request May 30, 2023
# [25.0.0](v24.0.0...v25.0.0) (2023-05-30)

### chore

* **SPM:** IOS-9013 Combine mistica into a single package to prevent duplicated symbols when importing Mistica and MisticaSwiftUI ([#283](#283)) ([10179e6](10179e6))

### BREAKING CHANGES

* **SPM:** Mistica package now contains MisticaSwiftUI and Mistica for UIKit, imports of MisticaSwiftUI will need to be changed to import Mistica
@tuentisre
Copy link
Collaborator

🎉 This PR is included in version 25.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

4 participants