【问题标题】:SSZiparchive not getting removed from the projectSSZiparchive 未从项目中删除
【发布时间】: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


【解决方案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 作为依赖项。它处理一切。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-10-06
    • 2017-04-04
    • 2021-10-19
    • 2015-01-04
    • 2017-12-15
    • 1970-01-01
    • 2018-05-23
    • 2015-06-02
    相关资源
    最近更新 更多