Code Monkey home page Code Monkey logo

xcodeplugintool's Introduction

XcodePluginUpgradeCompatible

Xcode8 后 Apple 官方Xcode 已支持内嵌插件。故而仅对之前版本Xcode有效。

star this repo fork this repo

Stargazers over time

Stargazers over time

content

Compatible

  • Xcode7 : 运行工程文件后,重启Xcode即可 tips : Xcode重启后会要求用户确认是否加载非苹果官方插件,请选择Load Bundles

  • Xcode8+

     git clone https://github.com/steakknife/unsign.git
     cd unsign &&	make    
    
    
  • 使用unsign为xcode移除签名 ,会在/Applications/Xcode.app/Contents/MacOS/下生成Xcode.unsigned,备份好原始的Xcode,把Xcode.unsigned重命名为Xcode,重启Xcode即可

    • ./unsign /Applications/Xcode.app/Contents/MacOS/Xcode
  • 再次重启Xcode,如果以前插件无法运行,请下载本工程,运行一遍即可

工程文件说明

特别说明,此版本为解决Xcode8前插件处理终结版本(只要是Xcode版本升级,导致不插件无法加载,都可以尝试使用此工程命令修正,觉得好用,还望给个star ,谢谢!

有群里小伙伴反馈,如果电脑的用户名曾经更改而且没有更改个人目录那么获取的路径无效,修正后为不获取用户名,而是获取用户下个人目录方式.并且打印台也打印一下你插件目录安装插件都是哪些.

  • 直接上图(很简单一步到位)

  • 新增加打印插件名

why ?

  • 每当Xcode升级之后,都会导致原有的Xcode插件不能使用,这是因为每个插件的Info.plist中记录了该插件兼容Xcode版本的DVTPlugInCompatibilityUUID,而每个版本的Xcode的DVTPlugInCompatibilityUUID都是不同的。如果想让原来的插件继续工作,我们就得将新版Xcode的DVTPlugInCompatibilityUUID加入到每一个插件的Info文件中,手动添加的话比较费时间还可能出错

  • Whenever the Xcode after upgrading, will cause the original Xcode can not use the plugin, this is because each plugin Info. The records in the plist DVTPlugInCompatibilityUUID Xcode version of the plugin compatibility, and each version of Xcode DVTPlugInCompatibilityUUID is different.If you want to keep the original plug-in work, we will have the new Xcode DVTPlugInCompatibilityUUID added to each plugin Info file, manually add more time-consuming they might be wrong.

Xcode常用的插件,不包含Xcode8后自带功能的插件.

  • Alcatraz一个开源的Xcode 包管理器,可以让你更便捷地发现、安装以及管理插件、模板和配色方案。只需要简单地点击或者勾选,不需要手工复制和粘贴。

  • KSImageNamed-Xcode使用[UIImage imageNamed:@"xxx"]时,该插件会扫描整个workspace中的图片文件。 Swift已经有原生支持了.

  • Auto-Importer-for-Xcode是一款自动包含所需头文件的插件,省去烦人的import,这样一来你写代码都顺畅。

  • synxXcode虚拟文件夹整理利器。

有任何问题,请及时 issues me

[email protected]

License

English: this library is available under the MIT license, see the LICENSE file for more information.

xcodeplugintool's People

Contributors

devdragonli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xcodeplugintool's Issues

Wrong path,Please try again!

2016-04-27 14:18:34.189 XcodePluginUpgradeCompatible-LFL[4059:144248] 当前用户admin
2016-04-27 14:18:34.190 XcodePluginUpgradeCompatible-LFL[4059:144248] 当前用户Jackliu
2016-04-27 14:18:34.192 XcodePluginUpgradeCompatible-LFL[4059:144248] Wrong path,Please try again!
Program ended with exit code: 0
问下出现这个情况是为啥

有错误

或许你自己都没有运行过吧?

确实有错误在以前用命令行写过 再运行会crash

第73行的
NSDictionary *pluginInfoDictionary = [[NSDictionary alloc] initWithContentsOfFile:pluginPlistPath];
应该改为
NSMutableDictionary *pluginInfoDictionary = [[NSMutableDictionary alloc] initWithContentsOfFile:pluginPlistPath];
因为在下面的判断中你有对不可变字典设置值,导致crash-------------
if (![supportedUUIDs containsObject:xcodeUUID]) { [supportedUUIDs addObject:xcodeUUID]; [pluginInfoDictionary setValue:supportedUUIDs forKey:@"DVTPlugInCompatibilityUUIDs"]; [pluginInfoDictionary writeToFile:pluginPlistPath atomically:YES]; }

Xcode 崩溃 无响应

我的系统是mac mini 2014 ,mac os sirra 10.12 , xcode 8.0,插件是可以用,但是xcode 老崩溃和无响应?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.