-
Notifications
You must be signed in to change notification settings - Fork 180
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
On macOS Big Sur, after codesign Xcode and try to login to my account, got "Couldn’t communicate with a helper application" #340
Comments
Same issue here |
1 similar comment
Same issue here |
I just started having this issue today after having Big Sur installed for a while with everything working fine. I deleted/reinstalled Xcode and command line tools several times and after a few tries it just started working again. Maybe this will help someone. |
This issue appears after signing Xcode files by your XCodeSigner cert that needed XVim2. |
same issue here |
Seems duplicated with #323 |
I agree with you. |
is this issue is fixed in XCode 12.3 ? Because I do not want to download 2 versions of xcode just to get VIM running. |
It is the same in Xcode 12.3. You can download IDE only one time and make duplicate for keeping without your signing. |
Sorry for a dumb question but what are the steps for this? Is it just duplicate the |
You should to download Xcode from Download part of Apple site (not through App Store app). It has name as Xcode_12.3.xip or Xcode_12.2.xip. It is archived Xcode.app. After unarchiving, you get archive + unpacked Xcode.app. |
Download the Xcode.xip from this link https://developer.apple.com/download/more/ After the download is finished, unpack the Xcode and rename the app before moving the app to Applications folder. Then Codesign to the renamed app and build to the renamed app. |
I keep signed by my cert Xcode.app in Application folder and clear (with signed by Apple cert) in other folder. (Example in Download/XCodeClear/) |
I resolve this issue by downgrading the MacOS from Big Sur to Catalina, since XVim2 is more useful to me and the latest Xcode is compatible with Catalina. |
And the same in xcode 12.4 Just to verify, the strategy of having two copies of xcode worked for me. The steps were much easier than I thought they would be. To download a copy of the app:
Now that you have two copies of xcode, you can:
Most operations in xcode do not require you to log in. For me, I only need the clean copy of xcode when:
|
I think it's a system-wise security mechanism introduced in Big Sur rather than a Xcode issue, since XVim2 and Xcode 12.3 both work in Catalina on my Mac. |
would it be possible to only sign certain parts of xcode so that things still work? |
Has anyone tried replacing signature with certificates for mac development/distribution certificate? |
FYI: next version of Xcode 12.5 required Big Sur. |
I hope this is not the death of xvim. I have no problem with multiple versions of Xcode (I have like 4 on my system anyway), but, seriously, coding in one xcode and running in a second is super annoying. lol |
The 2-copy work-around is not as bad as you think. You can edit xvim and run you app in the same copy of xcode. The only time you will require the non-xvim version of xcode is when you need to sign in to an Apple account. For me, this occurs only when:
|
I meet this problem, too. And currently I use 2-copy work-around as simple solution. Hope a better solution occurs! |
Care to elaborate? Because I want to run on my iPhone, but required the vanilla xcode to sign my app in order to run it. How can I "Deploy" to my iphone during development with the xvim version? |
Hi Climax777, For me, I only needed to sign for the first time I use a new device -- and I used "vanilla xcode" to do that. But after the first time, I don't need to sign if I just want to run on my local iphone (through the USB cable). I'm wondering if you have an Apple developer account or not. I think if you don't have a developer account, you need to generate some sort of local authentication. Maybe that is what is tripping you up?? |
Hi guys I'm testing new workaround for this issue by using MacForge https://github.com/MacEnhance/MacForge that is BigSur supported (but not yet support Apple Silicon?) plugin loader like the SIMBL.
Some refs about SIP: |
The key was to first sign it like you said. It works a treat now. Thanks! A side note, VSCode's swift editing features are really great. I use a combination of both. |
software developers in year 2044: "has anybody figured out how to go back to xcode version 12.4? I need it to support my old arm architecture box which got dropped in 2030" yeah but then you will break xvim |
Hello, do you tried on Macbook Pro with M1? Xcode can not load xvim2 plugin(master branch) It works now! Only beta version of Macforge support M1 machines! |
@TMTBO stable version (1.1.0) of MacForge not yet supported Apple Silicon. |
By the way, if you disable "Library Validation" macOS system level, original Apple signed Xcode + traditional Xcode plugin system will work well.
This way is not required MacForge. sorry, also required disabling SIP. |
I'll add this table to readme when all filled.
|
all filled. |
Good job @r-plus! Thanks Apple for not supporting VIM natively, and the bad plugin support. |
this did the trick. thanks |
I resolve it with new pure installation of XCode, run projects on all my HW devices for the first time and then add XVim. After that, it runs without problem 👍 Thank you guys, this thread helped me. |
Going back to an earlier question, do we need to code sign EVERY executable in Xcode? The error message look suspiciously, like a separate process is trying to authenticate itself before talking to apple.
If we just don't sign this "helper", if anybody knows which that could be, wouldn't that solve the issue? If you have a suspicion, I'm happy to experiment |
You may still want to keep an original version as Xcode sign you out automatically from time to time. |
Before codesigning, signing into my account worked normally, but after codesign it kept showing the "Couldn’t communicate with a helper application" error - I've tried restarting, delete Xcode and reinstall etc.
Posting here to try to confirm if others are experiencing the same problem on macOS Big Sur. If so, I guess there's no way to use XVim2 normally as it requires codesign? My thinking is keeping 2 copies of Xcode, one untouched to build to devices or upload to App Store, and another one codesigned to use XVim2.
Any ideas and suggestions appreciated!
The text was updated successfully, but these errors were encountered: