iPhone Debug Dump
<p>I am unit testing an application on the iPhone, and I'm trying to develop a built-in method to record a specific action that users make to interact with my application.  I would like for this data to be transported back to me in some way.  Originally, I had a method of collecting this information, but I had to be around.  This was with nc.</p>

<p>Now, I am thinking of formatting the data and sending it as an email.</p>

<p>This is purely a design question, but does anyone have another suggestion for collecting large quantities of data?  I've toyed with the idea of dumping the data into the iPhone filesystem, and asking my testers to politely retrieve them via SSH, but this requires all test devices to be jailbroken, and is not a viable solution.</p>

<p>The best that I've come up with is to just format this data, shove it into the body of an email, and send it to a hard-coded email (mine).</p>

<p>Is it possible to format this data into a file, and send as an attachment?  This would also be a much more convenient solution, as it's confined to what I've thought up.</p>

<p>For clarity sake, the flow of this looks something like this:</p>

<ol>
<li>Distribute Beta</li>
<li>Users interact with Beta</li>
<li>For every use that results in a bug, dump the data into a format that my industry standard desktop app can read</li>
<li>Attempt to correct for this behavior on the iPhone by simulating the algorithm with the collected data</li>
</ol>

<p>So it's not purely for usage analysis, it's purely for debugging.</p>
