Xcode更新之后cocoapods失效的解决办法

1.打开终端,输入以下命令

defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

2.获取到所需的类似于字符串之后的DVTPlugInCompatibilityUUID之后,再输入以下命令

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add 9F75337B-21B4-4ADC-B558-F9CADF7073A7

注:9F75337B-21B4-4ADC-B558-F9CADF7073A7为第一步索取的字符串

3.重启Xcode(本人是Xcode7.2升级到7.3之后失效的)

你可能感兴趣的:(Xcode更新之后cocoapods失效的解决办法)