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

Can I use it for swift 4? #21

Open
GemmaJing opened this issue Dec 2, 2017 · 2 comments
Open

Can I use it for swift 4? #21

GemmaJing opened this issue Dec 2, 2017 · 2 comments

Comments

@GemmaJing
Copy link

Hi, I would like to use this for swift 4.
I have included the Pluralize framework in my project. Changed the deployment target to 10.12 since it is my main project deployment project. git clone https://github.com/joshualat/Pluralize.swift.git inside your project folder
I have done the steps: Drag the Pluralize.xcodeproj file into the file navigator of your project.
Ensure that the deployment target of Pluralize.framework matches that of the application target.
In your target’s Build Phases, add Pluralize to the Target Dependencies build phase.
Add the appropriate Pluralize.framework product to the Link Binary With Libraries build phase.
Add the same Pluralize.framework to a Copy Files build phase with a Frameworks destination.

I have tried both import Pluralize_swift and import Pluralize. But it has showed me that the module is not found.

Is this because I cannot use swift 4 for Pluralize framework you build?

Thank you,
Gemma

@DavidLari
Copy link

The owner of this repo has not been seen on Github for almost a year. Your best bet is just to copy the source file Pluralize.swift directly into your project. That's what I did and it works just fine.

@GemmaJing
Copy link
Author

It is working for me now. thank you very much!

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

No branches or pull requests

2 participants