Xcode 7安装KSImageNamed失败解决方法
2016-01-16 12:29
465 查看
KSImageNamed的官方Git描述如下:
Important: Old versions of KSImageNamed were installed in
安装方法是:在官方Git上下载这个工程然后直接用Xcode打开,command+B编译即可,编译成功以后,重启Xcode就可以了。
如果是第一次安装,重启Xcode时会弹出对话框,切记在跳出bundle选择的时候选择load,不然会安装失败,这样的话,解决方法如下:
官方文档中说安装地址在~/Library/Developer/Application Support/Developer/Shared/Xcode/Plug-ins,但优胜美地是在~/Library/Developer/Xcode/Plug-ins(安装的时候选择的吧,给忘了),rm -rf 那个KSImageNamed.xcplugin文档,然后命令行敲入
如果曾经安装过,那么就先删除那个插件(过程如上),再
就是这样
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.xcpluginfrom 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
安装方法是:在官方Git上下载这个工程然后直接用Xcode打开,command+B编译即可,编译成功以后,重启Xcode就可以了。
如果是第一次安装,重启Xcode时会弹出对话框,切记在跳出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,重新来过
就是这样
相关文章推荐
- hdu2500做一个正气的杭电人
- startup_stm32f10x_xx.s 启动代码文件选择
- Android中的Parcelable序列化对象
- 自定义类的前缀
- 树莓派安装mysql-srver报错 404 not found!
- maven-相关配置
- jdbc连接数据库和jdbc的核心api
- error LNK2019: unresolved externalsymbol _RtlStringVPrintfWorkerA@20 referenced in function _RtlStri
- SpringMVC返回文件流
- java中动态代理实现机制
- 菜单展开缩放联动
- MySQL主从复制--MySQL5.6基于GTID及多线程复制
- poj DNA Sorting
- 谈铁科院半年工作之感
- JVM学习笔记(六)--- 垃圾回收面临的问题
- 关于Qt信号/槽的参数类型
- 【转】图解HTTPS
- [Leetcode]10. Regular Expression Matching @python
- Codeforces Round #339 (Div. 2)D. Skills
- 213,使用UINavigationController实现页面跳转