There is no need to link to UIKit in the model classes, especially when
building the static library. Included below are diffs I made to minimize
required libraries, with success in the resulting build.
Index: SMTPSender/Classes/NSStream+SKPSMTPExtensions.h
===================================================================
--- SMTPSender/Classes/NSStream+SKPSMTPExtensions.h (revision 27)
+++ SMTPSender/Classes/NSStream+SKPSMTPExtensions.h (working copy)
@@ -30,7 +30,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
//
-#import <UIKit/UIKit.h>
+#import <Foundation/NSStream.h>
#import <CFNetwork/CFNetwork.h>
@interface NSStream (SKPSMTPExtensions)
Index: SMTPSender/Classes/HSK_CFUtilities.h
Index: SMTPSender/Classes/SMTPSenderAppDelegate.m
===================================================================
--- SMTPSender/Classes/SKPSMTPMessage.h (revision 27)
+++ SMTPSender/Classes/SKPSMTPMessage.h (working copy)
@@ -27,7 +27,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
//
-#import <UIKit/UIKit.h>
+#import <Foundation/Foundation.h>
#import <CFNetwork/CFNetwork.h>
enum
Original issue reported on code.google.com by steven.b...@gmail.com on 31 Jan 2011 at 5:45
Original issue reported on code.google.com by
steven.b...@gmail.com
on 31 Jan 2011 at 5:45