The use of NSBundle!


First lock the link: http://blog.csdn.net/totogo2010/article/details/7672271

In this section, the author tell us how to use a Bundle ,But when I use the Bundle! I had a problem……

I delete the image or other resource (or changed) in the Xcode,then i run the code,the app would not change!!

eg: I copy a sqlite file from the Xcode to the app, when I change the file in the workspace , the app in the simulator 

is not change!!

Finaly: I fixed it by changed the ****.app this bundle in : ……/Users/appxy_dev_056/Library/Developer/Xcode/DerivedData/PeriodPal-brninsdxsnedjoejuhpqlgbklbev/Build/Products


发表评论

电子邮件地址不会被公开。 必填项已用*标注