我正在开发一个使用Core Data的应用程序,在开发过程中已经在实际测试设备上创建了一组出色的测试夹具。
我想从手机上取出sqlite文件,并能在模拟器中使用它。
我的应用程序代理指定了sqlite文件的位置:
NSURL *storeUrl = [NSURL fileURLWithPath: [[self applicationDocumentsDirectory] stringByAppendingPathComponent: @"Quadriped.sqlite"]];
这怎么做最简单?