houssamham / skpsmtpmessage

Automatically exported from code.google.com/p/skpsmtpmessage
0 stars 0 forks source link

Errors.... Lots. #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I move the 4 files into my project, I get a heap of errors.
 It also says I need to include the OTHER files, so I move them too and I
get even more errors. 
So I move the library across, add -ObjC to the links make a new target like
in the example, try everything, and I still have 8 errors.
Better explanation of what you have to do to set this up?
This is a critical component of an application I'm making for a client
(being able to email images).

Original issue reported on code.google.com by darc1...@yahoo.com.au on 23 Feb 2009 at 6:32

GoogleCodeExporter commented 9 years ago
did you add the CFNetwork framework?

you need all the .h and .m files from the trunk except for the SMTPAppDelegate 
and
SMTPSenderViewController, as well as the built libsmtpmessage.a.

you just basically build the xcode project in the trunk, copy those files to 
your
project, add the cfnetwork framework and go.

Original comment by gelli...@gmail.com on 24 Feb 2009 at 7:55

GoogleCodeExporter commented 9 years ago
I just tried again, and it still doesn't work.
I open a new project and the SMTPSender example project. 
Then, I build both the "SMTPSender" and the "libsmtpmessage" targets, and copy 
all
the .m/.h files and libsmtpmessage.a across to my project.
I build my project, and I get 8 errors.
-.-

Original comment by darc1...@yahoo.com.au on 24 Feb 2009 at 9:11

GoogleCodeExporter commented 9 years ago
Okay, I copied the target from the example again, and this time it worked!
I had to set up the libsmtpmessage target and add the 3 .m's to it.

Original comment by darc1...@yahoo.com.au on 24 Feb 2009 at 9:19

GoogleCodeExporter commented 9 years ago
ARGH!
I forgot to put in the example code to send a message, so I did that and I get 5
errors!!!!

Original comment by darc1...@yahoo.com.au on 24 Feb 2009 at 10:05