Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve “bad interpreter: No such file or directory” error in iOS?

Tags:

I tried Fabric for crashlytics in my iOS app.I installed Fabric via cocoapod. My run script look like this "${PODS_ROOT}/Fabric/run" 5fff878b48f0c239da398853befb1559ccdd7717 3a66fd28662c398358b9510f79a16f0fe7f6a89f826213f0c5962e8540e4bb8e

But I got the following error.

Pods/Fabric/run: /bin/sh^M: bad interpreter: No such file or directory

How to solve this issue? Please help me

like image 309
IKKA Avatar asked Dec 27 '17 07:12

IKKA


2 Answers

Delete Pods directory from your project and run pod install command again.

like image 133
iVarun Avatar answered Sep 22 '22 12:09

iVarun


I solved the issue using the following way.

I added the following command in my terminal

$ pod deintegrate

$ pod install

like image 33
IKKA Avatar answered Sep 23 '22 12:09

IKKA