问题
Somebody please save me.
This is the error I'm getting. I've tried cleaning, doing a build clean, pod installs and updates. I have not found a solution.
Shell Script Invocation Error Group /Users/arthuraraujo/Library/Developer/Xcode/DerivedData/Anti-Social_Club-gizjofrkxroutxezxlbuadlvpwbo/Build/Products/Debug-iphoneos/Anti-Social: No such file or directory
回答1:
I have similar issues in the past and doing the following work for me. Hope your problem is same as mine:
- Close xCode
- Go to this folder Group /Users/arthuraraujo/Library/Developer/Xcode/DerivedData/Anti-Social_Club-gizjofrkxroutxezxlbuadlvpwbo/Build/Products/Debug-iphoneos/ and delete Anti-Social.
- Restart xCode, clean & build.
回答2:
It is hard to really tell you the solution with just the information provided. However, the first thing I would try is deleting the derived data, as CodeBender stated. You should also look at your search paths in your project's building settings to make sure your pods are correct/ connecting your pods files to your project.
回答3:
Possible duplicate of: Xcode 8 Shell Script Invocation Error
Here is what I did when I got this:
- Used this site to completely remove All Versions of cocoapods: https://superuser.com/questions/686317/how-to-fully-uninstall-the-cocoapods-from-the-mac-machine
- Re-installed current stable version of cocoapods (v1.1.1 for me)
- Deleted podlock and pods directory
- Deleted old .xcworkspace file (this was key for me).
- Did "pod install"
- Opened xcode and cleaned project and deleted derivedData.
回答4:
Go to your build phases and remove libReact.a from the linked libraries.
Then add libReact.a but select this one:
libReact.a from 'React' target in 'Pods' project
来源:https://stackoverflow.com/questions/40434184/ios-swift-no-such-file-or-directory-in-debug-iphoneos