AlexR
AlexR

Reputation: 5634

Property list not copied into document directory

I have manually created a property list (Config.plist) using Xcode 4.3 and saved it in "Supporting Files/Config.plist". However, when building the project and running the app in the simulator, the property list is not copied in the document directory (as supposed) nor any other directory in the simulator.

Any help would be highly appreciated.

Thank you!

Upvotes: 0

Views: 232

Answers (1)

Mrunal
Mrunal

Reputation: 14118

It will go to NSBundle mainBundle by default. You will require to copy that file to document directory. Check my code for copy file to document directory over here: Plist

Upvotes: 1

Related Questions