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

Add SPM support for included UI elements #74

Merged
merged 11 commits into from
Jun 8, 2021

Conversation

ltsuchiya
Copy link
Contributor

This PR seeks to enable the LifetimeTracker UI elements in SPM builds. Currently attempting to use LifetimeTrackerDashboardIntegration will result in a crash.

Main changes:

  • Bump swift-tools to 5.3
  • Move storyboards and xibs into resources and specify the resources folder in Swift.package
  • Add Bundle extension to handle logic for SPM vs. non-SPM usage
  • Ensure that all storyboards have customModuleProvider="target" removed (Inherit module from target)
  • Ensure that all storyboards have customModule="LifetimeTracker" set

Will still need to be tested for non-SPM usage.

Copy link
Owner

@krzysztofzablocki krzysztofzablocki left a comment

Choose a reason for hiding this comment

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

thanks for contributing🙇

@krzysztofzablocki krzysztofzablocki merged commit 9dcdd75 into krzysztofzablocki:master Jun 8, 2021
@ltsuchiya
Copy link
Contributor Author

@krzysztofzablocki Thanks for merging so quickly. When you get a chance could you bump up a new git tagged version? That should allow the SPM users who are using version control to update.

@krzysztofzablocki
Copy link
Owner

done with 1.8.1 @ltsuchiya

@ltsuchiya
Copy link
Contributor Author

@krzysztofzablocki Thanks! 🙏

@ltsuchiya ltsuchiya deleted the addUISPMSupport branch June 10, 2021 00:33
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