iosunity-game-enginecopy-pastepersistent-data

How to put file manually to iOS persistentDataPath?


{to the point} So I want to create some Quiz Game on Unity that the questions data using external file (in this case I using JSON). I want to keep my questions data can access/edit by myself separately. And then I just have to copy-paste it manually to persistentDataPath in iOS but I don't know how to do it. Anyone can help me?

Note : I don't wanna use any script/code to do it, just manually Copy-Paste it...\

thank you,


Solution

  • You need to set "Application Supports iTunes file sharing" key in the info plist of your app in Xcode. enter image description here

    ...and then you can access persistentDataPath through iTunes. (In the example screenshot below I copied midi.csv from my MacBook to excel in my iPad) enter image description here