Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

How to import RichTextView? #94

Closed
kalathiyanilesh1 opened this issue Apr 30, 2019 · 11 comments
Closed

How to import RichTextView? #94

kalathiyanilesh1 opened this issue Apr 30, 2019 · 11 comments

Comments

@kalathiyanilesh1
Copy link

import RichTextView showing error like No such module 'RichTextView'

already add pod pod 'RichTextView'

@aelkady
Copy link
Contributor

aelkady commented Apr 30, 2019

Hey @kalathiyanilesh1 have you done a pod install --repo-update as well after updating your Podfile?

@aelkady
Copy link
Contributor

aelkady commented Apr 30, 2019

Also you need to make sure you are working with the xcworkspace file not the xcodeproj file

@kalathiyanilesh1
Copy link
Author

yes I'm working on xcworkspace file not the xcodeproj file, still not solved this issue
Screenshot 2019-04-30 at 6 11 46 PM

@aelkady
Copy link
Contributor

aelkady commented Apr 30, 2019

Can you try doing a clean build to see if this fixes the problem? If not can you open the example project (in the Example directory in the repo) and see if that is also broken for you?

@kalathiyanilesh1
Copy link
Author

here is my project link "https://we.tl/t-DiJt67R9Fn", check it

@aelkady
Copy link
Contributor

aelkady commented Apr 30, 2019

Can you try changing the deployment target of RichTextView to iOS 10 (see screenshot attached)? Let me know if this fixes your issue.
Screen Shot 2019-04-30 at 8 50 00 AM

@kalathiyanilesh1
Copy link
Author

hello @aelkady , not working this solution. can you pls check my demo app & try to resolve this issue

@aelkady
Copy link
Contributor

aelkady commented Apr 30, 2019

@kalathiyanilesh1 the screenshot I sent above is from the project you sent me - outside of cleaning your DerivedData folder and doing a clean build there is not much else I can recommend, changing the deployment on the RichTextView framework made the project build successfully for me

@kalathiyanilesh1
Copy link
Author

Hello @aelkady , Solved my issue by setup this

Screenshot 2019-04-30 at 6 25 57 PM
Screenshot 2019-04-30 at 6 26 03 PM

@kalathiyanilesh1
Copy link
Author

@aelkady , Thanks for your support.

@aelkady
Copy link
Contributor

aelkady commented Apr 30, 2019

No worries, closing the issue and might open a PR soon to update the deployment target. The problem was that SnapKit has a minimum deployment of iOS 10.0 and that is a dependency of RichTextView.

@aelkady aelkady closed this as completed Apr 30, 2019
@aelkady aelkady mentioned this issue Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants