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

Fix SPM for Tuist #21

Merged
merged 1 commit into from
May 3, 2023
Merged

Fix SPM for Tuist #21

merged 1 commit into from
May 3, 2023

Conversation

artemch
Copy link
Contributor

@artemch artemch commented May 3, 2023

What

When adding this framework as an SPM dependency for Tuist, Tuist doesn't generate SWIFTPM_MODULE_BUNDLE for the Objc SPM package.
There is a link to related issues in Tuist tuist/tuist#3785 and tuist/tuist#4902.
So, to fix this problem I added the SWIFTPM_MODULE_BUNDLE implementation to FMPBundleHelper. That implementation is based on the swift-generated implementation in the file TuistBundle+FMPFeedbackForm.swift.

screenshot

@artemch artemch self-assigned this May 3, 2023
@artemch artemch requested a review from anton-barkov May 3, 2023 12:26
Copy link
Collaborator

@anton-barkov anton-barkov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fix.
I don't have an environment at hand to test this, feel free to merge if you're sure it's working. I'll make a release afterward.

@artemch
Copy link
Contributor Author

artemch commented May 3, 2023

Thanks. I've checked it on a project with Tuist and it works. Also verified through standard SPM flow and it works too.

@artemch artemch merged commit b23330f into master May 3, 2023
@serejahh serejahh deleted the Fix-SPM-for-Tuist branch May 3, 2023 13:38
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.

None yet

2 participants