XVim2: Xcode 9.4.1 not working.

Just upgraded to 9.4.1,xvim2 just not working after I followlling the install instructions as usual:

1: git fetch & pull on develop branch of this repo. (uuid of 9.4.1 is included.)

2: resign xcode use: sudo codesign -f -s XcodeSigner /Applications/Xcode.app

3: cd XVim2 and make.

Any same problem here?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 7
  • Comments: 17 (3 by maintainers)

Most upvoted comments

I am using the master branch and it seems okay. If you accidentally opened Xcode before running your commands you may need to close Xcode and run defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-9.4.1 then relaunch Xcode and load the bundle again.

I found the broken commit by using git bisect.

The broken commit is change swift function pointer address for Xcode10 The parent commit of it is change from Xcode9.3 header to Xcode10, this is working well.

XVIM2 has not been working by following the instruction, but It works now by signing AGAIN the XCode along the link https://github.com/XVimProject/XVim2/blob/master/SIGNING_Xcode.md in very first step. (The signing takes quite long time for your information) The master branch works for now. Thanks for your works and I would never like Apple.

thanks @MasterBeta !

By the way, I installed the version at tag xcode9.4 and it worked everything so far (I can perfectly see the big caret and I can undo using ‘u’).

I was having trouble installing for Xcode 9.4.1 as well. make was succeeding but when I launched Xcode there was no prompt to load the plugin and no vim key binds. I’m using the master branch.

What fixed it for me was opening XVim2.xcodeproj in Xcode and clicking Build and Run. Then I restarted Xcode and now it works.

Not working for me. Build worked. codesign worked (from what I can tell). Got prompt to load XVim2 bundle on Xcode start. Recent projects selector didn’t show on that start so Quit and restarted. No XVim menu anywhere and vi keys don’t work. I also had to force quit Xcode on that second start. I hate Xcode and Apple on why that make this so difficult.

I did a defaults read com.apple.dt.Xcode and see…

    "DVTPlugInManagerNonApplePlugIns-Xcode-9.4.1" =     {
        allowed =         {
            "net.JugglerShu.XVim2" =             {
                version = 1;
            };
        };
        skipped =         {
        };
    };
 

Thinking that maybe my XVim2 directory had something in it from the past, I rm -rf the XVim2 directory and did the clone again. Did make. Restarted Xcode. Loaded plugin bundle. Still no luck. Had to force quit Xcode on that start that prompts to load the bundle.

Giving up on Xcode. VScode is better. Trying https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment#overview

@gidjituser Thanks. I’ve switched to master branch and re-make. Everything works fine now.

@JaviOverflow Check this: https://github.com/XVimProject/XVim2/blob/master/SIGNING_Xcode.md

BTW: Branch develop is still broken on Xcode 9.4.1.