自签名Xcode8,使其可以使用插件

Install XVim for Xcode 8

Since Apple decided not to load 3rd party plugins, we have to make change to it. What we have to do overall is to re-codesign Xcode. This allows us to load 3rd party plugins. Here’s the steps to do.

  1. Close Xcode

  2. Prepare code sign certificate

    If you already have a certificate from Apple’s developer program you can use it (so skip to next section now). If you don’t have one or don’t want to use the existing certificate create new one as follows.

    1.1 Open “Keychain Access” (in Applications -> Utilities) and select “login” in the left pane.

    1.2 Select Create a Certificate ( in KeyChain Access -> Certificate Assistant )

这里写图片描述

1.3 Input your name (whatever you like) and select “Code Signing” for Certificate Type.
Not required but the name is used later in a command line so it could be better to use easily distinguishable name here (I use XcodeSigner here).

这里写图片描述

Now you have a certificate to code sign.

  1. Re-signing Xcode

    Then in a terminal,

     $ sudo codesign -f -s XcodeSigner /Applications/Xcode.app    
    

    (Replace the Xcode path if it is different.)
    This should take a while.

  2. Build XVim

    Go to XVim directory you cloned and build it as usual (Read INSTALL section in README.md).

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值