ios – 在XCode 7.1中的恶魔

前端之家收集整理的这篇文章主要介绍了ios – 在XCode 7.1中的恶魔前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
请注意,从XCode 8 Alcatraz不再有效
Editor Extension Tutorial

我无法为Xcode 7.1安装Alcatraz

根据他们的微博Feed Alcatraz应该与XCode 7.1.我已经尝试卸载并重新安装.

我用了推荐的安装

curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh

可能与我的XCode 6.4安装有关吗?

解决方法

@Mopr的答案可能会解决,但没有为我工作.我从Enisto Pino Alcatraz issue 352得到一个更完整的答案,我在这里转贴

1)关闭Xcode

2)删除Xcode 7.0的以前的默认值

defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.0

3)卸载恶魔

rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin

4)删除所有通过恶魔岛安装的软件包

rm -rf ~/Library/Application\ Support/Alcatraz/

5)将DVTPlugInCompatibilityUUID更新为7.1插件

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add defaults read /Applications/Xcode\ 7.1.app/Contents/Info DVTPlugInCompatibilityUUID

6)重置Xcode选择

sudo xcode-select --reset

7)打开Xcode

8)安装恶魔

curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh

9)重新启动Xcode

10)在Xcode开始的对话框中选择“加载捆绑”.

原文链接:https://www.f2er.com/iOS/336573.html

猜你在找的iOS相关文章