zoukankan      html  css  js  c++  java
  • Xcode 7安装KSImageNamed失败解决方法

    http://139.129.18.51/dogBroBlog/2015/12/29/xcode-7%E5%AE%89%E8%A3%85ksimagenamed%E5%A4%B1%E8%B4%A5%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/


    ## 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,不然会安装失败,这样的话,解决方法如下:
    官方文档中说安装地址在~/Library/Developer/Application Support/Developer/Shared/Xcode/Plug-ins,但我的悠仙美地是在~/Library/Developer/Xcode/Plug-ins(安装的时候选择的吧,给忘了),rm -rf 那个KSImageNamed.xcplugin文档,然后命令行敲入`defaults write com.apple.dt.Xcode KSShowExtensionInImageCompletion -bool NO`注意是NO,让后重新安装就可以重新来过,别忘记load bundle!

    如果曾经安装过,那么就先删除那个插件(过程如上),再`defaults write com.apple.dt.Xcode KSShowExtensionInImageCompletion -bool NO`,ok,重新来过

    就是这样

  • 相关阅读:
    Codeforces Beta Round #25 (Div. 2 Only) D. Roads not only in Berland(DFS+并查集)
    HDU 3473 Minimum Sum(划分树)
    Oracle锁表与解锁 对象锁与解锁
    Java实现多个客户端聊天程序
    Javacript实现颜色渐变的效果
    生成对象的模式(PHP)
    C语言实现的简单通讯录例子
    C语言实现加密通讯录雏形
    TP中Model
    php整合Apache
  • 原文地址:https://www.cnblogs.com/willbin/p/5198791.html
Copyright © 2011-2022 走看看