Skip to content

Fix getting resources from prebuilt framework#84

Merged
guoyingtao merged 4 commits into
guoyingtao:masterfrom
timbaev:fix/resources
Feb 9, 2021
Merged

Fix getting resources from prebuilt framework#84
guoyingtao merged 4 commits into
guoyingtao:masterfrom
timbaev:fix/resources

Conversation

@timbaev
Copy link
Copy Markdown
Contributor

@timbaev timbaev commented Feb 8, 2021

The problem

When install Mantis from Carthage, resources with localization files will not be copy to builded framework.
With CocoaPods everything work well, becouse CocoaPods authomatically generate Bundle with resources indicated in podspec file.

The solution

Create Bundle for resources the same as CocoaPods, put localizable resources into Bundle and link with Mantis target.
After this, Mantis framework will building with resources from new Bundle.

Copy link
Copy Markdown
Owner

@guoyingtao guoyingtao left a comment

Choose a reason for hiding this comment

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

Looks good!

@guoyingtao guoyingtao merged commit 7399e7f into guoyingtao:master Feb 9, 2021
@timbaev timbaev deleted the fix/resources branch February 9, 2021 08:55
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.

2 participants