英文:
I get error when I'm trying to rename folder in Xcode project
问题
我创建了一个新的组(文件夹),尝试重命名它,但出现了错误(它说:“无法将文件重命名为源文件'swift/TaskCreator/TaskCreator/New Group1'不存在。”
详细信息:
详细信息
无法将文件重命名为源文件'swift/TaskCreator/TaskCreator/New Group1'不存在。
域:com.apple.dt.SourceControlErrorDomain
代码:-1104
用户信息:{
DVTErrorCreationDateKey = '2023-06-18 21:01:29 +0000';
}
--
系统信息
macOS 版本 13.4(构建 22F66)
Xcode 14.3.1(21815)(构建 14E300c)
时间戳:2023-06-19T00:01:29+03:00
如果我重新启动 Xcode,我只能更改文件夹的名称一次,然后错误再次出现。有人遇到过这个问题吗?
我重新安装了 Xcode,但没有帮助我。
英文:
I create a new group(folder), try to rename it, and an error occurs(it says: "Failed to rename file as the source file 'swift/TaskCreator/TaskCreator/New Group1' does n…")
Detail info:
Details
Failed to rename file as the source file 'swift/TaskCreator/TaskCreator/New Group1' does not exist.
Domain: com.apple.dt.SourceControlErrorDomain
Code: -1104
User Info: {
DVTErrorCreationDateKey = "2023-06-18 21:01:29 +0000";
}
--
System Information
macOS Version 13.4 (Build 22F66)
Xcode 14.3.1 (21815) (Build 14E300c)
Timestamp: 2023-06-19T00:01:29+03:00
If I restart Xcode, I can change name for a folder only once, then the error comes back again. Has anyone faced this issue?
I reinstalled Xcode, but it didn't help me.
答案1
得分: -1
这个项目出现问题了。创建一个新项目,并将你的代码文件迁移到新项目中。在Xcode和项目导航器中使用拖放或复制粘贴,完全在其中进行操作。
英文:
This project is hosed. Make a new project and migrate your code files into it. Use drag and drop or copy and paste and work entirely within Xcode and the project navigator.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论