wafflez180
wafflez180

Reputation: 75

iOS Swift No Such File or Directory In Debug-iphoneos

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

Upvotes: 7

Views: 13277

Answers (4)

ANKIT DETROJA
ANKIT DETROJA

Reputation: 2065

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

Upvotes: 1

elprl
elprl

Reputation: 1960

Possible duplicate of: Xcode 8 Shell Script Invocation Error

Here is what I did when I got this:

  1. 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
  2. Re-installed current stable version of cocoapods (v1.1.1 for me)
  3. Deleted podlock and pods directory
  4. Deleted old .xcworkspace file (this was key for me).
  5. Did "pod install"
  6. Opened xcode and cleaned project and deleted derivedData.

Upvotes: 1

Kenny Lim
Kenny Lim

Reputation: 1214

I have similar issues in the past and doing the following work for me. Hope your problem is same as mine:

  1. Close xCode
  2. Go to this folder Group /Users/arthuraraujo/Library/Developer/Xcode/DerivedData/Anti-Social_Club-gizjofrkxroutxezxlbuadlvpwbo/Build/Products/Debug-iphoneos/ and delete Anti-Social.
  3. Restart xCode, clean & build.

Upvotes: 4

Jacob Boyd
Jacob Boyd

Reputation: 680

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.

Upvotes: 1

Related Questions