简体   繁体   English

我从我的应用程序中删除了flite文件,现在当我尝试重新导入它们时,我收到了一个错误

[英]I deleted flite files from my app and now when i try to re-import them, i'm getting an error

So i deleted 3 flite voices from my app that i didn't need, to speed it up. 所以我从我的应用程序中删除了3个我不需要的flite声音,以加快速度。 But then i got errors that they were required so i tried putting them back in and although the files were gone and deleted, i got a Could not copy [location] to [location] error. 但后来我得到了错误,他们是必需的,所以我尝试把它们放回去,虽然文件已经删除并删除,但我得到了一个Could not copy [location] to [location]错误。 How would I go about re-importing them without getting this error? 我将如何重新导入它们而不出现此错误?

Anybody else had some similar before? 以前有人有过类似的吗?

将原始文件还原回项目文件夹,或删除对文件的引用并查找其他解决方案。

You probably didn't delete those files, just the references to them. 您可能没有删除这些文件,只是删除了对它们的引用。 Go to the project folder and delete them by hand, Xcode can't put them there because files with such names already exist in the folder 转到项目文件夹并手动删除它们,Xcode无法将其放在此处,因为文件夹中已经存在具有此类名称的文件

It just means you need to change the import option to not use "copy", since they are already in the location they would be copied TO. 它只是意味着您需要更改导入选项以不使用“复制”,因为它们已经位于要复制到的位置。

In the dialog box that comes up when the drag the files into XCode just make sure it's not set to copy. 在将文件拖动到XCode时出现的对话框中,请确保未将其设置为复制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我尝试编译我的应用程序时出现错误 - Im getting a error when I try and compile my app 我能改变FLite的默认声音吗? - can i change the default voices from FLite? 我的应用曾经可以正常构建,但是现在当我尝试构建时会崩溃 - My app used to build properly but now it crashes when i try to build 当我尝试通过iPhone为我的应用访问联系人时,kABAuthorizationStatusDenied? - kABAuthorizationStatusDenied when i try to access contacts from the iphone for my app? 当我从其他应用程序向我的应用程序添加文件夹时出现错误,例如没有此类文件或目录 - when i am adding folder from other app to my app am getting error like no such file or directory 我完成了我的应用程序,但是当我尝试运行模拟器时,此错误代码一直显示 - I finished my app, but this error code keeps showing up when I try to run the simulator 当我尝试在app store上传新版本时获取appunes错误90046 for applink - when i try to upload new build on app store getting itunes error 90046 for applink 尝试加载视频时出现SIGABRT(objective-c) - I'm getting SIGABRT when I try to load a video (objective-c) 当我尝试从“最近使用的应用”栏中终止我的应用时,模拟器崩溃 - My simulator crashes when I try to terminate my app from the recent-apps bar 我上载我的应用程序变得疯狂 - i'm getting crazy trying to upload my app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM