[SWIFT] XVim2 introduction memo to Xcode12.3

It was a hassle to find a way to install the Vim-like plugin XVim2 in Xcode every time, so I'll summarize it here as a reminder.

Execution environment

MacOS 11.0.1(Intel) Xcode12.3

reference

The content described here is based on the original GitHub repository. https://github.com/XVimProject/XVim2

1. Creating a certificate

Open Keychain Access.app and select "Keychain Access"> "Certificate Assistant"> "Create Certificate ..." from the menu.

スクリーンショット 2020-12-15 15.58.54.png

Change the name and certificate type and proceed to the next to complete the creation.

スクリーンショット_2020-12-15_16_01_44.png

2. Self-sign Xcode

Then run the following command in the terminal:

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

If you installed from the App Store, it should be in the above directory.

3. Clone XVim2 and run make

git clone [email protected]:XVimProject/XVim2.git

Make sure that 2. Self-sign Xcode in ↑ is completed, move to the cloned directory, and execute make.

cd XVim2
make

4. Start Xcode-> Select Load Bundle

When you start Xcode, a dialog will appear, so select "Load Bundle". (Note that "Skip Bundle" is active!)

スクリーンショット_2020-12-15_12_22_58.png

Now the cursor becomes a block and you can do the same thing as Vim. Open your project and check it out!

(Extra edition) By the way, what do you need after updating Xcode?

If you installed the Xcode update, you will need to self-sign Xcode again and do a make operation in the XVim2 directory.

At the time of writing this article, I updated Xcode12.2 installed on the App Store to 12.3, but when I started it immediately after the update, the function was canceled. Going to the XVim2 directory and running make doesn't work. ..

However, when I started over from 2. Self-signed Xcode, I was able to confirm that it still works.

Recommended Posts

XVim2 introduction memo to Xcode12.3
Introduction to JUnit (study memo)
Introduction to SWING
Introduction to web3j
Introduction to Micronaut 1 ~ Introduction ~
[Java] Introduction to Java
Introduction to migration
Introduction to java
Introduction to Doma
Introduction to JAR files
Introduction to Ratpack (8)-Session
Introduction to RSpec 1. Test, RSpec
Introduction to Ratpack (6) --Promise
Introduction to Ratpack (9) --Thymeleaf
Use XVim2 with Xcode 12.0.1
Introduction to PlayFramework 2.7 ① Overview
Introduction to Android Layout
Introduction to design patterns (introduction)
Introduction to Practical Programming
Introduction to javadoc command
Introduction to Ratpack (2)-Architecture
Introduction to lambda expression
Introduction to java command
Introduction to Keycloak development
Introduction to javac command
Introduction to Design Patterns (Builder)
Ubuntu Ethernet driver introduction memo
Introduction to RSpec 5. Controller specs
Introduction to RSpec 6. System specifications
Introduction to Android application development
Introduction to Ratpack (5) --Json & Registry
Introduction to Metabase ~ Environment Construction ~
[Xcode 12.3] Introduction to Apple Platform App Development-Object Edition- [Swift UI]
Introduction to Ratpack (7) --Guice & Spring
(Dot installation) Introduction to Java8_Impression
Introduction to Design Patterns (Composite)
Introduction to Micronaut 2 ~ Unit test ~
Introduction to Spring Boot ① ~ DI ~
Introduction to design patterns (Flyweight)
Introduction to Spring Boot ② ~ AOP ~
Introduction to Apache Beam (2) ~ ParDo ~
[Ruby] Introduction to Ruby Error statement
Introduction to EHRbase 2-REST API
Introduction to design patterns Prototype
GitHub Actions Introduction to self-made actions
[Java] Introduction to Stream API
Introduction to Design Patterns (Iterator)
Introduction to Spring Boot Part 1
Eclipse 4.8 introduction memo (Plugin edition)
Introduction to Ratpack (1) --What is Ratpack?
Introduction to RSpec-Everyday Rails Summary-
Introduction to Design Patterns (Strategy)
[Introduction to rock-paper-scissors games] Java
Introduction to Linux Container / Docker (Part 1)
Introduction to swift practice output Chapter5
[Introduction to Java] About lambda expressions
[Introduction to Java] About Stream API
Introduction to Functional Programming (Java, Javascript)
Introduction to algorithms with java-Shakutori method
Introduction to Design Patterns (Factory Method)
Introduction to Design Patterns (Abstract Factory)