## How do I use it?

Build the KSImageNamed target in the Xcode project and the plug-in will automatically be installed in `~/Library/Developer/Xcode/Plug-ins`. Relaunch Xcode and `imageNamed:` will magically start autocompleting your images.

**Important**: Old versions of KSImageNamed were installed in `~/Library/Developer/Application Support/Developer/Shared/Xcode/Plug-ins`. Make sure to remove `KSImageNamed.xcplugin` from there before installing the new one.

## How do I include file extensions when autocompleting?

Enter the following command and relaunch Xcode:
`defaults write com.apple.dt.Xcode KSShowExtensionInImageCompletion -bool YES`

以上是官方文档
下载最新版,在第一次安装的时候,跳出bundle选择的时候选择load,不然会安装失败

解决:

1.~/Library/Developer/Xcode/Plug-ins 删除KSImageNamed.

2.命令行敲入`defaults write com.apple.dt.Xcode KSShowExtensionInImageCompletion -bool YES

 

相关文章:

  • 2021-06-24
  • 2021-04-11
  • 2022-02-16
  • 2021-04-16
  • 2021-04-21
  • 2021-06-28
  • 2021-06-06
  • 2021-09-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-12-25
  • 2021-10-22
  • 2021-06-16
相关资源
相似解决方案