一.出现的问题
npm时报错出现红色字体的脚本内容,最后以configure: error: C compiler cannot create executables
结尾。
二.解决方法
执行sudo xcode-select --switch /Applications/Xcode.app
之后重启,再重新执行pod install
npm时报错出现红色字体的脚本内容,最后以configure: error: C compiler cannot create executables
结尾。
执行sudo xcode-select --switch /Applications/Xcode.app
之后重启,再重新执行pod install