@saiday已将以下步骤合并为一个终端命令:
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.app/Contents/Info DVTPlugInCompatibilityUUID`
Run Code Online (Sandbox Code Playgroud)
上面的脚本为您执行第2步和第3步.
确保Alcatraz已安装并在XCode版本中运行
通过在终端中运行以下内容来确定测试版的UUID:
defaults read /Applications/Xcode-Beta.app/Contents/Info DVTPlugInCompatibilityUUID
Run Code Online (Sandbox Code Playgroud)在终端中运行以下命令:
defaults write ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/Info.plist -array-add DVTPlugInCompatibilityUUIDs [REPLACE WITHUUID FROM STEP TWO]
Run Code Online (Sandbox Code Playgroud)这会将当前测试版的UUID添加到Alcatraz可接受的平台列表中.您的UUID应如下所示:992275C1-432A-4CF7-B659-D84ED6D42D3F
| 归档时间: |
|
| 查看次数: |
1600 次 |
| 最近记录: |