5

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

wafflez180
  • 55
  • 1
  • 1
  • 7

4 Answers4

4

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.
Kenny Lim
  • 1,193
  • 1
  • 11
  • 31
  • 1
    I still get this error when doing that, and deleting DerivedData, and restarting XCode, and after cleaning, etc. – chapeljuice Aug 25 '17 at 18:27
1

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.

Jacob Boyd
  • 672
  • 3
  • 19
  • I have also had to add '${PODS_ROOT}/' (without the single quotes) to my Header search paths with recursive option; for header files to be found when stating 'use_frameworks!' in my Podfile. – Jacob Boyd Mar 03 '17 at 18:26
1

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.
Community
  • 1
  • 1
elprl
  • 1,940
  • 25
  • 36
1

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

ANKIT DETROJA
  • 1,948
  • 1
  • 17
  • 24