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

not working in production electron build for windows #9

Open
iap2 opened this issue Apr 6, 2019 · 3 comments
Open

not working in production electron build for windows #9

iap2 opened this issue Apr 6, 2019 · 3 comments

Comments

@iap2
Copy link

iap2 commented Apr 6, 2019

Hi. Having trouble getting it to work after packaging electron app using electron-packager or electron-builder. Calling idevice_info crashes child process returning message "3221225477" on close. Doesn't seem to ever get past calling idevice_new inside info.c.

Also, everything works while running electron in debug. My setup is clean with no modifications to source. Using node v10.11.0. Electron v4.0.3.

@norman784 @didix21 Were you guys able to get it to work on an electron production build for windows?

Not sure what I'm missing. Any help is greatly appreciated!

@didix21
Copy link
Collaborator

didix21 commented Apr 7, 2019

Hello @iap2,
I've never tested on node v10.11.0 and Electron v4.0.3. In my case, I used it with node v8.15.1 and Electron v1.8.3 and I haven't had any trouble with it. How are you using idevice_info ?

@iap2
Copy link
Author

iap2 commented Apr 7, 2019

Hi @didix21 ,

Thanks for getting back. I just tried it on your setup with node v8.15.1 and electron v1.8.3 and still running into the same issue. I tried calling idevice_info from both the main and renderer process. Calling idevice_id has the same issue as well. All of this works when I'm just debugging electron. It's only an issue after packaging. I'm using electron-packager v13.1.1. What did you use for packaging?

@didix21
Copy link
Collaborator

didix21 commented Apr 8, 2019

I've never tested with electron-packager, I'm currently using electron-builder v20.28.3.

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

2 participants