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

Cocoapod install is empty #32

Closed
thibaultcha opened this issue Jan 24, 2014 · 13 comments
Closed

Cocoapod install is empty #32

thibaultcha opened this issue Jan 24, 2014 · 13 comments

Comments

@thibaultcha
Copy link

Hi,

Here is my Podfile:

pod 'MBCalendarKit'

But the installed Pod is empty, containing only one header file:

capture d ecran 2014-01-24 14 49 27

@MosheBerman
Copy link
Owner

Thanks, I'm not a huge fan of CocoaPods, so I tried to set it up once, but didn't do a good job. Feel free to set it up.

@ahalls
Copy link
Contributor

ahalls commented Jan 24, 2014

The podspec here has been corrected but for some reason the old one is referenced by default. I updated my podspec with the line:

pod 'MBCalendarKit', :podspec => 'https://raw.github.com/MosheBerman/MBCalendarKit/d0ddd629ea93cac9f1b5b9a4d37d39cbf3cc512a/MBCalendarKit.podspec'

And it worked. So someone that knows more about how Cocoapods finds the 'default' podspecs needs to point out how we can fix this.

@MosheBerman
Copy link
Owner

By "pod spec here" are you referring to the one in this repo? I bet the one in the main CocoaPods repo is still the old one.

@ahalls
Copy link
Contributor

ahalls commented Feb 13, 2014

Yes "pod spec here" refers to the file here in the MBCalendarKit repro is correct ... reference it in my example line for a Podfile ...

@MosheBerman
Copy link
Owner

Can you guys please check that the 1.1.1 CocoaPod works correctly? Pushed a new one up earlier this week.

@ahalls
Copy link
Contributor

ahalls commented Feb 14, 2014

Its not quite right ... have a pull request in https://github.com/CocoaPods/Specs/pulls with the fix. I thought I had the rights to accept the request, couldn't figure out how

#8046 Fix reference to source files.

@ahalls
Copy link
Contributor

ahalls commented Feb 14, 2014

The pull request has been accepted so Cocoapod with a default reference is now working for me.

@MosheBerman
Copy link
Owner

So are we good to close?

@ahalls
Copy link
Contributor

ahalls commented Apr 7, 2014

Yes

@nameghino
Copy link

Hello, just wanted to let you know I'm still experiencing the issue
.
├── LICENSE
├── MBCalendarKit
│   └── CalendarKit
│   └── CalendarKit.h
└── README.md

2 directories, 3 files

pod search MBCalendarKit prints:

-> MBCalendarKit (2.0.0)
An open source calendar view for iOS.
pod 'MBCalendarKit', '~> 2.0.0'

@furins
Copy link

furins commented May 15, 2014

Trying to install it today from cocoapods (MBCalendarKit 2.0.0), I added the following five lines from the example in my viewcontroller then clean, build.

#import "MBCalendarKit/CalendarKit.h"
// please note that the example in the README.md is not correct regarding the header's path

CKCalendarView *calendar = [CKCalendarView new];
[calendar setDelegate:self];
[calendar setDataSource:self];
[[self view] addSubview:calendar];

I receive the following error:

<mypath>/Pods/Headers/MBCalendarKit/CalendarKit.h:13:9: 'CKCalendarEvent.h' file not found

probably because the CKCalendarEvent.h has moved to Core subfolder? EDIT: NO, also my directory structure is like @nameghino 's one.

@MosheBerman
Copy link
Owner

Interesting. I'll have to check if this is related to the recent CocoaPods change from pull requests to trunk.

@MosheBerman
Copy link
Owner

Issue #48 mentions this. As I said over there, it looks like this is fixed. If it's still a problem, please comment over there.

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

5 participants