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
doubt when compile electron on macOS 10.14 #16244
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
I build on my local machine with Xcode 10.1 with the macOS 10.14 SDK, and it works fine. If you want to reproduce the build environment that releases of Electron are built in, I believe the info about Xcode 8.2.1 and 10.10 SDK is still current. cc @jkleinsc to confirm. |
Electron official builds are built on Xcode 8.3.3. I updated the doc in PR #16267 to reflect that. @drelaptop please note that |
thanks for reply in time. @jkleinsc Xcode 8.3.3 can't works on Mojave (10.14.1) too, so I installed Xcode 9.4.1, use it and builtin macOS 10.13 SDK to build electron. Fortunately, the output
The branch I build is official 3.0.13 , without any custom changes. below is the whole compile log. so must I use macOS 10.10 SDK? docs said:
I used 10.13 SDK, lots of warnings with no errors. why existed a feature that depends on a specific SDK version? I think it should works no matter I use macOS 10.10 SDK or 10.13 SDK. |
@drelaptop you should be able to ignore the warnings. If you are getting errors, those can't be ignored. As far as version of SDK, we are dependent on what Chromium requires. The chromium docs say you can build with newer SDKS, but official releases uses a specific SDK. I just double checked and here are the versions of the SDK that are used for Electron: |
Following the official docs:
https://github.com/electron/electron/blob/master/docs/development/build-instructions-macos.md
it told me that I should use Xcode 8.2.1 and macOS 10.10 SDK
but after I install Xcode 8.2.1, and try to run Xcode. Xcode directly crash when start on my macOS 10.14.1.
So my doubt is why it's so strictly. must I use Xcode 8.2.1 to make electron work properly? can I use Xcode 9.4 or Xcode 10 with the macOS 10.10 SDK?
The text was updated successfully, but these errors were encountered: