欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

pod install 报错(git: error: unable to read SDK settings)问题解决

程序员文章站 2024-03-11 17:37:19
...

IOS

"error: unable to read SDK settings"

After I upgraded my MacBook to macOS Mojave, for every command executed in my Terminal I got error message like this:

git: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk'
git: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk'
git: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
git: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'

CommandLineTools was outdated, reinstalling Command Line Tools fixed the issue:

xcode-select --install

 

文章出自:https://muyexi.im/error-unable-to-read-sdk-settings/

相关标签: pod error