XVimProject / XVim2

Vim key-bindings for Xcode 9
MIT License
2.31k stars 181 forks source link

Error running git status #360

Open izaguirrejoe opened 3 years ago

izaguirrejoe commented 3 years ago

I deleted the Xvim folder I cloned to my Desktop, since I didn't think I would need it after installation. I started getting the following error whenever I run git status from the terminal. I tried reinstalling Xvim, does not work. Is there a way to completely remove Xvim from my system to stop the error from happening, and then reinstall and keep the folder? Also why do I have to keep the folder? Interestingly enough, Xvim still works, even with this error.

izaguirrejoe@Josephs-MBP carrusel % git status
2021-02-08 12:19:24.626 xcodebuild[571:5327] WARNING: Failed to load plugin at path: "/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2): no suitable image found.  Did find:
    /Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: code signature in (/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
    /Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: stat() failed with errno=1" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2, NSDebugDescription=dlopen_preflight(/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2): no suitable image found.  Did find:
    /Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: code signature in (/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
    /Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: stat() failed with errno=1, NSBundlePath=/Users/izaguirrejoe/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin, NSLocalizedDescription=The bundle “XVim2” couldn’t be loaded because it is damaged or missing necessary resources.}
cjappl commented 3 years ago

Very similarly, every time I run a build, I'm getting a similar warning/error. Doesn't ever effect the build process, just a bit noisy.

2021-06-02 08:08:25.927 xcodebuild[26776:2499787] WARNING: Failed to load plugin at path: "/Users/cjappl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim
2.xcplugin", skipping. Error: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/cjappl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2
.xcplugin/Contents/MacOS/XVim2): no suitable image found.  Did find:
        /Users/cjappl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: code signature in (/Users/cjappl/Library/Applicati
on Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2) not valid for use in process using Library Validation: mapped file has no Team ID and is
not a platform binary (signed with custom identity or adhoc?)
        /Users/cjappl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: stat() failed with errno=1" UserInfo={NSLocalizedF
ailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/cjappl/Library/Applicat
ion Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2, NSDebugDescription=dlopen_preflight(/Users/cjappl/Library/Application Support/Developer/
Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2): no suitable image found.  Did find:
        /Users/cjappl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: code signature in (/Users/cjappl/Library/Applicati
on Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2) not valid for use in process using Library Validation: mapped file has no Team ID and is
not a platform binary (signed with custom identity or adhoc?)
        /Users/cjappl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin/Contents/MacOS/XVim2: stat() failed with errno=1, NSBundlePath=/Users/cj
appl/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim2.xcplugin, NSLocalizedDescription=The bundle “XVim2” couldn’t be loaded because it is damaged or mi
ssing necessary resources.}
r-plus commented 3 years ago

yes, we only recodesign to Xcode.app for xvim, not recodesign to xcodebuild binary that is reason why fail to load plugin. warning log is noisy but no problem.

deleting xvim folder is not means uninstall, if you want to uninstall please read uninstall section in readme.