I've seen the "could not open lock file" message before and it appears to be benign. I don't know about the "pipe to DADaemon" message, that might not be mail-related.
I just started getting these same messages. Have been debugging on device iPhone OS 3.1.3 with no similar issues.
It is clear that each warning pops up as I'm typing in an email address for the sender; for both the TO: or CC: I have not attempted the BCC: field. I have never seen this debugger message before, I just added the Reachability Classes to app. Everything has been working fine for determining reachability, I did not change anything in the MFMailComposer section of the app, I plugged in the Reachability instance prior to lauching the MFMailComposer on previous viewcontroller.
I'm get the same DA|pipe DADaemon line for each letter of the email address that I'm trying to enter, It stops printing to the console as soon as I find the email that I was looking for and click to add it from the list. Either way, I don't like getting this warning, can't be a good thing. I turned off my Attachment, but it does not remove the warnings. I'm exporting as html text, not sure if that has something to do with it. I don't have anything extra in my didFinishWithResult MFMailComposer Delegate Method. I just have a message for each of the cases, that gets returned to the user via an alertView to inform what happened to their email.
Looking for Solutions!!!
Try with this NSArray *paths = NSSearchPathForDirectoriesInDomains( NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *path = [documentsDirectory stringByAppendingPathComponent:@"mytrack.kml"]; NSData *myData = [NSData dataWithContentsOfFile:path]; [picker addAttachmentData:myData mimeType:@"text/xml" fileName:@"mytrack.kml"];