거의 알고리즘 일기장

pod install Installing glog (0.3.5) error 본문

IOS

pod install Installing glog (0.3.5) error

건우권 2022. 2. 5. 19:47

error log

[!] /bin/bash -c
set -e
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

set -e

...
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
/Users/aepeul/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-85ecd/missing: Unknown `--is-lightweight' option
Try `/Users/aepeul/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-85ecd/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/Users/aepeul/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-85ecd':
configure: error: C compiler cannot create executables
See `config.log' for more details

solution

//Applications folder에 Xcode.app이 있는지 확인하고 ㄲ
sudo xcode-select --switch /Applications/Xcode.app

 

반응형
Comments