Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 8.3.2 Build success, but plugin non-functional, popup allowing Xvim not shown #1063

Open
truongngoclinh opened this issue Apr 21, 2017 · 19 comments

Comments

@truongngoclinh
Copy link

truongngoclinh commented Apr 21, 2017

Description

I can install Xvim successfully by using develop branch, but no VIM feature in Xcode when I open projects. I cant see the notice for: "allow xcode load Xvim from bundles".

Operation

  • /XVim  ➦ fa5224b  sudo make
    xcodebuild -configuration Release
    2017-04-21 21:00:23.704 xcodebuild[19159:92286] [MT] PluginLoading: Required plug-in compatibility UUID DFFB3951-EB0A-4C09-9DAC-5F2D28CC839C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin' not present in DVTPlugInCompatibilityUUIDs
    === BUILD TARGET XVim OF PROJECT XVim WITH CONFIGURATION Release ==
    ....
    ** BUILD SUCCEEDED **

Expected behaviour

XVim working in Xcode. At least show the popup that allows load Xvim.

Environments

  • Xcode Version [ 8.3.2 ]
  • XVim branch and revision [ develop / fa5224b ]
  • Keyboard Language [ English US ]
  • Input source language [ English US ]

Crash log (if any)

 [ Paste the log here ]
@tidbeck
Copy link
Contributor

tidbeck commented Apr 21, 2017

Have you followed the Install XVim for Xcode 8 instructions (re-signed Xcode)?

@truongngoclinh
Copy link
Author

truongngoclinh commented Apr 21, 2017

@tidbeck, sure I signed successfully: sudo codesign -f -s XcodeSigner /Applications/Xcode.app, the keychain allowing popup was shown.

@truongngoclinh
Copy link
Author

Build failed if I use master branch.
The following build commands failed: Ld build/Release/XVim.xcplugin/Contents/MacOS/XVim normal x86_64

@windniw
Copy link

windniw commented Apr 22, 2017

Build success and work well in Xcode 8.3.1

  • Xvim branch develop
  • Xcode version 8.3.1

@gonefish
Copy link

me too

@podkovyrin
Copy link

Try to update compatibility UUIDs with the following command and restart Xcode:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`

@hyouuu
Copy link

hyouuu commented Apr 22, 2017

Followed @podkovyrin's command, re-signed Xcode and re-make works for me on 8.3.2

@rqueue
Copy link

rqueue commented May 5, 2017

Has anyone else found another solution? I can't seem to get it to work using the command from podkovyrin.

  • Xcode 8.3.2
  • XVim develop branch

@matachi
Copy link

matachi commented May 10, 2017

@rqueue Not sure what command did the trick, but I ran the following commands a couple of times:

$ defaults delete  com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-8.3.2
$ find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
$ sudo codesign -f -s XcodeSigner /Applications/Xcode.app
$ make

Eventually XVim started to work in Xcode again. I'm also running Xcode 8.3.2 and I'm on the develop branch of XVim.

@hanl001
Copy link

hanl001 commented May 17, 2017

you should create an other sign and Re-signing Xcode again

@truongngoclinh
Copy link
Author

It now works well on Xcode 8.3.2 with develop branch. Thank you all for your reply!

@rqueue
Copy link

rqueue commented Jun 3, 2017

What did it in the end for me was opening the xvime project in xcode and building it there + all the other steps people mentioned

@bduhbya
Copy link

bduhbya commented Jun 7, 2017

To clarify, if we want the latest plugin code, we need to use "develop" branch and NOT master? Master fails to build for me (Undefined symbols for architecture x86_64:
"OBJC_CLASS$IDEPlaygroundEditor", referenced from:
anon in IDEPlaygroundEditor+XVim.o
l_OBJC
$CATEGORY_IDEPlaygroundEditor$_XVim in IDEPlaygroundEditor+XVim.o
objc-class-ref in XVimHookManager.o
ld: symbol(s) not found for architecture x86_64)

But, https://github.com/pebble8888/XVim.git works. I had no trouble with the codesign part.

@WellerQu
Copy link

WellerQu commented Jun 11, 2017

I have the same problem, but my xcode version is 8.3.3. Any ideas, please. Thanks

@rqueue
Copy link

rqueue commented Jun 11, 2017

@WellerQu have you tried opening the xvim project itself in Xcode and running it in addition to all the other steps people mentioned?

@hidez
Copy link

hidez commented Jun 12, 2017

@WellerQu Have you tried develop branch of XVim? Master branch failed with make. But develop branch works for me on Xcode8.3.3.

@WellerQu
Copy link

WellerQu commented Jun 12, 2017

@rqueue Yes, I have tried all the other steps in this issue. But can't get the expected result. And I get some warns:
screen shot 2017-06-12 at 14 30 13

@WellerQu
Copy link

@hidez Yeah, I have tried develop branch.
screen shot 2017-06-12 at 14 27 30

@WellerQu
Copy link

WellerQu commented Jun 12, 2017

Thanks all. And I resolved it with @bduhbya 's solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests