Ios Xcode错误:PBXCp错误:无法';不创建目录

Ios Xcode错误:PBXCp错误:无法';不创建目录,ios,objective-c,xcode,swift,j2objc,Ios,Objective C,Xcode,Swift,J2objc,我想在我的Xcode项目中包含一个Messages\u de.properties文件 我在我的目标的构建阶段我做到了: !![在此处输入图像描述][1] 当我尝试构建项目时,会出现以下错误: PBXCp /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/testproject-core/src/main/resources/testproject/core/i18n/Messages_de.properties /Users/mg/Library/Devel

我想在我的Xcode项目中包含一个
Messages\u de.properties
文件

我在我的目标的
构建阶段
我做到了:

!![在此处输入图像描述][1]

当我尝试构建项目时,会出现以下错误:

PBXCp /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/testproject-core/src/main/resources/testproject/core/i18n/Messages_de.properties /Users/mg/Library/Developer/Xcode/DerivedData/testproject-bkkczkzivpolszewxttakwlxnztk/Build/Products/Debug-iphoneos/testproject.app/testproject/core/i18n/Messages_de.properties
    cd /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/testproject
    export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/testproject-core/src/main/resources/testproject/core/i18n/Messages_de.properties /Users/mg/Library/Developer/Xcode/DerivedData/testproject-bkkczkzivpolszewxttakwlxnztk/Build/Products/Debug-iphoneos/testproject.app/testproject/core/i18n

    error: couldn't create directory /Users/mg/Library/Developer/Xcode/DerivedData/testproject-bkkczkzivpolszewxttakwlxnztk/Build/Products/Debug-iphoneos/testproject.app/testproject/core/i18n: Not a directoryerror: open /Users/mg/Library/Developer/Xcode/DerivedData/testproject-bkkczkzivpolszewxttakwlxnztk/Build/Products/Debug-iphoneos/testproject.app/testproject/core/i18n/Messages_de.properties: Not a directory

(null): error: couldn't create directory /Users/mg/Library/Developer/Xcode/DerivedData/testproject-bkkczkzivpolszewxttakwlxnztk/Build/Products/Debug-iphoneos/testproject.app/testproject/core/i18n: Not a directory

(null): error: open /Users/mg/Library/Developer/Xcode/DerivedData/testproject-bkkczkzivpolszewxttakwlxnztk/Build/Products/Debug-iphoneos/testproject.app/testproject/core/i18n/Messages_de.properties: Not a directory

是什么原因导致这些错误以及如何修复它们?

您试图包含目录而不是文件。
在代码中验证,您可能正在使用目录管理器来管理文件

你能说得更具体些吗?我不明白答案?