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

cannot install by cocoapod #2

Closed
ghost opened this issue Dec 6, 2016 · 6 comments
Closed

cannot install by cocoapod #2

ghost opened this issue Dec 6, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 6, 2016

thanks for sharing this nice framework!
but cannot install by using cocoapod :(

@ghost
Copy link
Author

ghost commented Dec 12, 2016

does this code work correctly? it doesn't seem to work for me

line 94, 95 in .podspec
s.source_files = "RCalendarPickerClass/."
s.source_files = "RCalendarPickerClass//.*"

@roycms
Copy link
Owner

roycms commented Dec 14, 2016

Manual installation

1.copy "RCalendarPickerClass/" To your own project

2.Make sure your project installation pod install

 pod 'Masonry'
 pod 'RGB'

The hope can help you

Very depressed, I do not know why it's been so long since I had submitted, in cocoapods website has been around for project, but the search is less than so now can only be manually import. The following addresses can be proved that can have a know how to solve the @ I thank you very much!

https://cocoapods.org/pods/RCalendarPicker

@roycms roycms closed this as completed Dec 14, 2016
@roycms roycms reopened this Dec 14, 2016
@ghost
Copy link
Author

ghost commented Dec 14, 2016

ok, i'll try manual installation

But option of installing by cocoapod is so nice to have,
so i recommend you try cocoapod again.

Also, let me say again that i could only install the file in RCalendarPickerClass/ * / *, not the .h files or .m files in the RCalendarPickerClass/ * when i use cocoapod. and i guess the reason is you write the .podspec file to do so. (-> "source_files": "RCalendarPickerClass/ * / * . *")

btw, i actually don't exactly understand what u say in the above , so i'm sorry if i'm wrong...

@roycms
Copy link
Owner

roycms commented Dec 14, 2016

There are no mistakes. Podspec , verify through, pod push is a success, is the pod search less than, don't know why, according to https://cocoapods.org/pods/RCalendarPicker website have

@ghost
Copy link
Author

ghost commented Dec 18, 2016

Are you sure that you successfully committed your ver. 1.1.4 to Cocoapod?

It seems Cocoapod only have ver. 1.1.3 ...

@ghost
Copy link
Author

ghost commented Dec 19, 2016

Now that you changed .podspec file, we can install this framework by using the below code.

pod 'RCalendarPicker', :git => 'https://github.com/roycms/RCalendarPicker.git'

@ghost ghost closed this as completed Dec 19, 2016
This issue was closed.
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

1 participant