The use of NSBundle!

来源:互联网 发布:淘宝茉莉广场舞服装 编辑:程序博客网 时间:2024/06/10 08:57

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