Command /bin/sh failed with exit code 126

If Baidu methods are useless, try this method

Completely remove the project pod reimport tripartite library

1. Remove Podfile.lock file, Pods folders and files when install .xcworkspace generated.
(Note: If you do not want to follow-up with the pod, then, Podfile file can be deleted with)
open the project, under the Frameworks folder, delete Pods.xcconfig (not negligible) and libPods.a

Enter the Build Phases project, delete Copy Pods Resources, Embed Pods Frameworks (not negligible) and Check Pods Manifest.lock three.

  1. Re-pod install

Reproduced in: https: //www.jianshu.com/p/6db274db04ef

Guess you like

Origin blog.csdn.net/weixin_34061555/article/details/91166599