我开发了一个使用objective-c的iOS应用程序,该应用程序使用文本文件将其转换为zip。我最初尝试使用SSZipArchive并将SSZipArchive添加到项目目录。后来,我改为客观拉链,它完美的作品。我也从目录中删除了SSZipArchive文件夹。但是当我尝试构建应用程序时,出现错误'error:/ Users/maneesh-3919/Documents/git1/mdmiosapp/support/SSZipArchive:没有这样的文件或目录'..我尝试搜索“SSZipArchive”项目,但没有发现一次发生。正在抛出的精确错误是SSZiparchive没有从项目中删除
CpResource support/SSZipArchive /Users/maneesh-3919/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/mdmiosagent.app/SSZipArchive
cd /Users/maneesh-3919/Documents/git1/mdmiosapp
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/maneesh-3919/Documents/git1/mdmiosapp/support/SSZipArchive /Users/maneesh-3919/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/mdmiosagent.app
error: /Users/maneesh-3919/Documents/git1/mdmiosapp/support/SSZipArchive: No such file or directory
所以请帮助我完全删除SSZipArchive。先谢谢你。
尝试在** Build Phases> Copy Bundle Resources **中搜索“SSZipArchive”。如果有,请将其移除。 – Nishant
瞧!那就是诀窍。请发布这个答案。我会接受。 –
清理生成文件夹和派生数据文件夹。 –