Maneesh Sharma Maneesh Sharma - 1 year ago 110
Objective-C Question

SSZiparchive not getting removed from the project

I have developed an iOS application using objective-c that uses a text file to be converted to zip. I initially tried using SSZipArchive and added the SSZipArchive to the project directory . Later , I changed to objective-zip and it works perfectly. And I have deleted the SSZipArchive Folder from the directory as well . But when I try to build the app , I get an error 'error: /Users/maneesh-3919/Documents/git1/mdmiosapp/support/SSZipArchive: No such file or directory' .. I tried searching "SSZipArchive" in the entire project but didn't find even one occurance. The Exact error that's being thrown is

CpResource support/SSZipArchive /Users/maneesh-3919/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/
cd /Users/maneesh-3919/Documents/git1/mdmiosapp
export PATH="/Applications/"
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/

error: /Users/maneesh-3919/Documents/git1/mdmiosapp/support/SSZipArchive: No such file or directory

So Kindly assist me to remove the SSZipArchive completely . Thank you in advance.

Answer Source

Try these steps:

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.

Suggestion: You should prefer using Cocoapods for dependencies. It handles everything.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download