x


Is there a method for getting application saved data off the iPhone?

Suppose that my iPhone game saves a file to the application's sandbox directory, say under ./Documents. I want to evaluate this file on my development Mac.

If I was using Unity iPhone Advanced, I could just load the file and then email it (or FTP, HTTP, etc.) using the plugin architecture to access the iPhone API. With Unity Basic, I can not access the API. How can I transfer the file off the iPhone?

more ▼

asked Jan 06 '10 at 07:46 AM

AMP gravatar image

AMP
138 2 2 13

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You can do this very easily in XCode:

  1. Open Xcode.
  2. Open the Organizer window.
  3. Click on the iPhone in the source list.
  4. Go to the "Summary" tab.
  5. In the lower list of applications, scroll down until you find the app whose data you want to retrieve. Click the triangle beside the name.
  6. You'll see an item called "Application Data" appear under the app. Click the download icon (the down arrow). Pick a location to save the data to.
more ▼

answered Jan 06 '10 at 06:05 PM

bliprob gravatar image

bliprob
92 2

(comments are locked)
10|3000 characters needed characters left

Well, if your game saves the file at some point, why not send it to a php page which emails you the file at the same time? I think the iPhone basic license can use WWW Forms so it would work suposing your file isn't to large.

more ▼

answered Jan 06 '10 at 09:53 AM

TowerOfBricks gravatar image

TowerOfBricks
3.2k 17 25 50

This is an interesting tecqunique that could be very useful in run-time situations (such as reporting high scores to a centeralized location). For development though, this is probably more work then I would care to do: Find a server, create a submissions page (php, aspx, whatever), write a bunch of code to accept the data, write a bunch more code to email the data, debug the page, etc.

Jan 06 '10 at 08:04 PM AMP
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2013
x350
x60

asked: Jan 06 '10 at 07:46 AM

Seen: 2898 times

Last Updated: Jan 06 '10 at 08:04 PM