simulator上没问题,上device一跑就自动退出。
可以在xcode下使用run->run with performance tool->object allocations看看是不是内存爆了...
或者真机debug,定点于applicationDidReceiveMemoryWarning
另外还出现过simulator上的文件不分大小写,而device上是明确区分的