Hello
When I download the package to the Itunes I get an error:
ERROR ITMS-90511: "CFBundleIdentifier Collision. The Info.plist CFBundleIdentifier value 'com.github.electron.loginhelper' of 'com.my.app/Contents/Library/LoginItems/Electron Login Helper.app' is already in use by another application."
I just did my first submission to the App Store through Application Loader and I got that same error back from iTunes connect. Not sure if I'm building wrong or something is borked so just chiming in here too.
CFBundleIdentifier Collision - The Info.plist CFBundleIdentifier value 'com.github.electron.loginhelper' of 'my.app/Contents/Library/LoginItems/Electron Login Helper.app' is already in use by another application.
@mulyk did you find any resolution to this?
I am also suffering from this issue. Any solution / workaround?
@dbtek Go to the .app, right click and show package contents.
Then go to my.app/Contents/Library/LoginItems/ and just delete Electron Login Helper.app
That worked for me
@sferoze thanks for the reply. I can just do that however Application Loader only accepts .pkg. I don't know how to I modify .pkg.
@dbtek Ah yah, you have to output the .app file from electron-builder. I think it outputs that along with the .pkg.
So edit the .app file and then you will have to re-package the .app file. Quick google search will show you how to do that.
@dbtek, I modified the function createMacApp in builder script node_modules/electron-builder-lib/out/electron
Here are the necessary changes:
https://github.com/mulyk/test/commit/f92a55a2f33155c8842f2808d475e5d527f0d7b8
This only works for the Mas target, for the rest the Login Helper is not supplied and the script will give an error, you need to use the standard or add condition
Thanks @mulyk. I'll try. Sorry for the bother, appreciated.
@mulyk it worked! But this time app crashes at launch. Can't we build for mas without electron-builder?
It seems crash is unrelated to patch. It crashes without it too. (On 20.11.1)
@dbtek Yes, the package for mas doesn't run from the file, only from the store.
So it was with me, maybe there is an opportunity to run locally
@mulyk, sorry for the level of noobness. Apple rejected binary stating "App crashes on launch".
Is there anyway to repeat it locally with MAS build?
Still has this problem, for those of you looking for a solution. The patch created by @mulyk works like a charm:
https://github.com/mulyk/test/commit/f92a55a2f33155c8842f2808d475e5d527f0d7b8
Steps:
atom node_modules/electron-builder-lib/out/electron/electronMac.jsnpx electron-builder@mulyk Why not prepare PR :(
Will be fixed, sorry for delay.
Hello 馃憢
"electron-builder": "20.28.4"
"target": "mas"
When I upload to AppStore Connect I get this error: Error: CFBundleIdentifier Collision - The Info.plist CFBundleIdentifier value 'org.phantomjs' of 'phantomjs' is already in use by another application.
Any new workarounds?
Most helpful comment
Will be fixed, sorry for delay.