Closed OlafAndreas closed 8 years ago
Yes! Great find! This is the idea fix for this I think. (and great to learn in general)
It looks like the MTPDF.podspec file, which I was testing with, got mixed into the pull request. Maybe you could clean that out and create a new podspec for the new release? Sorry for the trouble.
This resolves an issue when using the
MTPDF
pod in a swift-based project(Not tested with objective-c), where the#import <NSDate+MTDates.h>
fails due to afile not found issue
.This is due to the angled import in
MTPDF.m
which will look for theNSDate+MTDates.h
in the same scope as theMTPDF.m
file.On a comment made by orta(CocoaPods member) on an issue for CocoaPods
Since the
NSDate+MTDates.h
lies within theMTDates
pod. The import should be prepended withMTDates/
like this:#import <MTDates/NSDate+MTDates.h>