[英]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.