Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I cannot pod install

I cannot pod install. This is error. I want u help me.

 xcrun: error: SDK "iphoneos" cannot be located
    xcrun: error: SDK "iphoneos" cannot be located
    xcrun: error: SDK "iphoneos" cannot be located
    xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
    /Users/dan/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
    Try `/Users/dan/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
    configure: WARNING: 'missing' script is too old or missing
    configure: error: in `/Users/dan/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
like image 353
batu dan Avatar asked May 19 '20 12:05

batu dan


People also ask

How do you install pods?

To install the pods, do one of the following: Place the caret at the code line where you add the pod, press ⌥ ⏎ , select Install, and press ⏎ . Click Install pods in the top-left corner of the editor window. From the main menu, select Tools | CocoaPods | Install.

How do I uninstall and reinstall my pod?

Just rm -rf that pod's folder, and remove the line from the Podfile. Then run pod install again.


1 Answers

Proceed to Xcode > Preferences > Locations.

Check if Command Line Tool is selected and not blank.

enter image description here

like image 173
Mihir Gurjar Avatar answered Sep 18 '22 07:09

Mihir Gurjar