hohl / MIHCrypto

OpenSSL wrapper for Objective-C [cryptography]
MIT License
340 stars 66 forks source link

<Foundation/Foundation.h> is lost #26

Closed askxlogic closed 8 years ago

askxlogic commented 9 years ago

MIHCripto don't have #import <Foundation/Foundation.h> in root header. For example MIHCoding.h is NSObject protocol child. But in this file I can't find any way for loading <Foundation/Foundation.h>. I have a lot of build errors.

hohl commented 9 years ago

Do you use CocoaPods for dependency management or do you just copy all source files into your project?

askxlogic commented 9 years ago

I use CocoaPods. My Podfile:

platform :ios, '6.0'

pod "MIHCrypto", "~> 0.3.2"
askxlogic commented 9 years ago

Adding string

#import <Foundation/Foundation.h>

in file MIHCoding.h solve this problem. :-)

hohl commented 9 years ago

Thanks, I may add it in next release. Most developers don't seem to need it, however it won't hurt anybody if it is included.

hohl commented 9 years ago

Sorry, would like to keep it open as a reminder for myself to add the #import.