MKNetworkKit icon indicating copy to clipboard operation
MKNetworkKit copied to clipboard

MKNetworkKit Cocoapod fails on Mac OS X due to DLog not defined

Open cheizer opened this issue 11 years ago • 2 comments

MKNetworkKit Cocoapod fails on Mac OS X due to DLog not defined in MKNetworkKitAdditions.

This is overkill but just add to NSAlert+MKNetworkKitAdditions.h

#ifdef DEBUG
#   define DLog(fmt, ...) {NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);}
#   define ELog(err) {if(err) DLog(@"%@", err)}
#else
#   define DLog(...)
#   define ELog(err)
#endif

cheizer avatar Oct 09 '13 02:10 cheizer

I have the same problem on Mac OS X.

IlyaBeliaev avatar Nov 12 '13 10:11 IlyaBeliaev

Idem for me

beeloo42 avatar Oct 31 '14 11:10 beeloo42