Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/109.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法使用水果带(iOS设备)上载数据。分段错误:11_Ios_Xcode4.5_Appdata - Fatal编程技术网

无法使用水果带(iOS设备)上载数据。分段错误:11

无法使用水果带(iOS设备)上载数据。分段错误:11,ios,xcode4.5,appdata,Ios,Xcode4.5,Appdata,我正试图用这种方式将数据上传到我的应用程序中 ./fruitstrap upload --bundle-id com.x.x --file /path/to/data-file.xcappdata/ 但我得到了一个“分段错误:11”错误。有人知道为什么吗?如何修复 当我说 ./fruitstrap upload --bundle-id com.x.x --file /path/to/data-file --target / [or] /Documents/ 我收到一条消息说无法打开文件“/p

我正试图用这种方式将数据上传到我的应用程序中

./fruitstrap upload --bundle-id com.x.x --file /path/to/data-file.xcappdata/
但我得到了一个“分段错误:11”错误。有人知道为什么吗?如何修复

当我说

./fruitstrap upload --bundle-id com.x.x --file /path/to/data-file --target / [or] /Documents/
我收到一条消息说无法打开文件“/path/to/data file.xcappdata/”

(我知道我遇到了分段错误:11大多数情况下,当程序试图访问/操作内存时,它真的不能。)


但问题是有人看到了吗?也许能解决这个问题

这与编程无关。也许最好在一个专门的论坛上问这个问题。我计划重新编写这个工具来满足我的需要。但我不确定会出什么问题。我没有设备上/Documents文件夹的读/写权限吗?或者MobileDevice框架有什么需要处理的变化吗?等等。。