【发布时间】:2016-07-20 09:31:14
【问题描述】:
我使用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。提前谢谢你。
【问题讨论】:
-
尝试在 Build Phases > Copy Bundle Resources 中搜索
SSZipArchive。如果它在那里,请将其删除。 -
瞧!那成功了。请将此作为答案发布。我会接受的。
-
清理构建文件夹和派生数据文件夹。
标签: ios objective-c objectivezip ssziparchive