Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build & Run: plist is not getting updated

Tags:

xcode4

plist

I have a plist in my resource bundle which I copy by folder reference. For some reason, my edited & saved (in Xcode) plist is not getting copied/updated until I delete the app. Otherwise the old plist (before editing) is copied over, even though I delete the app. Is data being left over?

The plist is edited quite often, so debugging is very time-consuming this way. How can I make sure the plist is copied properly?

like image 706
Morrowless Avatar asked Nov 14 '22 23:11

Morrowless


1 Answers

Are you copying the plist file in Documents folder? if you are copying that then you must delete the app from iPhone simulator every time you launch the app.

You can also do one thing.. you can copy the file in documents folder every time you launch the app. Because the document folder's content can only be delete by deleting the app from simulator/device.

Then there is no need to restart the simulator/device and xcode.

like image 161
Saurabh Avatar answered Mar 24 '23 05:03

Saurabh