SSZiparchive 未从项目中删除

SSZiparchive not getting removed from the project

我使用 objective-c 开发了一个 iOS 应用程序,该应用程序使用要转换为 zip 的文本文件。我最初尝试使用 SSZipArchive 并将 SSZipArchive 添加到项目目录中。后来,我改成了objective-zip,效果很好。我也从目录中删除了 SSZipArchive 文件夹。但是当我尝试构建应用程序时,出现错误 'error: /Users/maneesh-3919/Documents/git1/mdmiosapp/support/SSZipArchive: No such file or directory' .. 我尝试在整个项目中搜索 "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。提前谢谢你。

试试这些步骤:

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 作为依赖项。它处理一切。