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

Pod Update to version 0.5.1 Error on setTitleTextAttributes[.font #23

Closed
fabriciomasiero opened this issue Oct 11, 2017 · 5 comments
Closed
Labels

Comments

@fabriciomasiero
Copy link

fabriciomasiero commented Oct 11, 2017

Hi, I updated the pod because I had issue #20 . But after updating and building my project, a compilation error occurred, is it normal? thank you

captura de tela 2017-10-11 as 17 14 40

@kmcgill88
Copy link
Owner

Hmm, when I published it was fine for me. What version of swift are you using? I was using 4.

@fabriciomasiero
Copy link
Author

My project are using Swift 4, but i dont updated the swift syntax in my pods project.

Summing up: My project = swift 4
Pods project = swift 3.1

@fabriciomasiero fabriciomasiero changed the title Pod Update to version 0.5.1 Pod Update to version 0.5.1 Error on setTitleTextAttributes[.font Oct 11, 2017
@kmcgill88
Copy link
Owner

kmcgill88 commented Oct 12, 2017

I did update the pod for swift 4. I think you must tell Xcode McPicker uses swift 4 and you can leave the rest as 3.

@kmcgill88
Copy link
Owner

Just tested this out and confirm my suspicion. McPicker needs to compile with Swift 4 and you must have it set to compile with Swift 3. Just change the toggle in your project and it should be good to go! A picture is worth 💯 words.

swift4

I will update the README to outline this. Thanks for reporting! 🥇 Please let me know if this does the trick for ya.

@fabriciomasiero
Copy link
Author

WORKS !!!! Thanks you very much @kmcgill88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants