开发者

Retrieving a file from iPhone device

开发者 https://www.devze.com 2022-12-27 15:27 出处:网络
I\'m making a game and writing save files into the document directory on 开发者_C百科the iPhone.

I'm making a game and writing save files into the document directory on 开发者_C百科the iPhone.

Is there a way for me to retrieve these files from the actual device? I know I can find the ones saved from the simulator.


You can plug the phone into your Mac, and open Xcode and then Xcode's Organiser window.

From there, you can select your iPhone from the device list on the left. This will show the details of your iPhone, (provisions, installed apps etc).

You should be able to see your app in the list of installed apps, with a disclosure arrow next to it ( > ). Click that and it'll expand to show a package icon with the text Application Data, and a "download arrow" icon to the right.

Click the download arrow and it'll ask you where to save the data.

The result is a folder containing the Documents, Library and tmp directories from your application.

Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号