我使用objective-c开发了一个iOS应用程序,它使用一个文本文件转换为zip。我最初尝试使用SSZipArchive并将SSZipArchive添加到项目目录中。后来,我改为objective-zip,它完美无缺。我也从目录中删除了SSZipArchive文件夹。但是当我尝试构建应用程序时,我收到错误'错误:/ Users / maneesh-3919 / Documents / git1 / mdmiosapp / support / 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。提前谢谢。
答案 0 :(得分:1)
尝试以下步骤:
1. Click on your project in Xcode.
2. For your target, open the build phases tab.
3. Open "Copy Bundle Resources"
4. Look for any resources listed in red (SSZipArchive)
5. Remove.
建议:您应该更喜欢使用Cocoapods作为依赖项。它处理一切。