Git Product home page Git Product logo

Comments (13)

MosheBerman avatar MosheBerman commented on June 10, 2024

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.

from mbcalendarkit.

ahalls avatar ahalls commented on June 10, 2024

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.

from mbcalendarkit.

MosheBerman avatar MosheBerman commented on June 10, 2024

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.

from mbcalendarkit.

ahalls avatar ahalls commented on June 10, 2024

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

from mbcalendarkit.

MosheBerman avatar MosheBerman commented on June 10, 2024

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

from mbcalendarkit.

ahalls avatar ahalls commented on June 10, 2024

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.

from mbcalendarkit.

ahalls avatar ahalls commented on June 10, 2024

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

from mbcalendarkit.

MosheBerman avatar MosheBerman commented on June 10, 2024

So are we good to close?

from mbcalendarkit.

ahalls avatar ahalls commented on June 10, 2024

Yes

from mbcalendarkit.

nameghino avatar nameghino commented on June 10, 2024

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'

from mbcalendarkit.

furins avatar furins commented on June 10, 2024

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.

from mbcalendarkit.

MosheBerman avatar MosheBerman commented on June 10, 2024

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

from mbcalendarkit.

MosheBerman avatar MosheBerman commented on June 10, 2024

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.

from mbcalendarkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.