Easiest way to Compile MuseScore on Mojave Mac OS
Hello folks well I bit the bullet and upgraded :)
Working through setting up my compiler environment, I found the easiest way to sort out compiling MuseScore and be fairly "compliant" was to run Xcode 8/9 (and associated command line tools) so as to avoid issues with depreciated libraries until an official fix or workaround is implemented. I tested all the versions from 8.01 - 9.4.1 and settled at 9.41 as that suited my needs. It is possible to have multiple instances of Xcode compiler installed along with version 10 (plenty of google links for walking you through the details).
All you need to remember to do is to select the desired compiler version in Xcode preferences. You have to settle on a name convention for each version of Xcode in addition to version 10 you want installed, in my case I left it as the default so that update won't nag. The dependency installation using brew is fairly painless if you are on version 10 of the compiler and only swap back to compile MuseScore or other "legacy code repositories".
Otherwise the existing instructions for compiling on Mac apply.
No problems using MuseScore 2.3.2 and being able to follow the master build development.
Comments
Did you try to compile with Xcode 10 ? It was not successful ?
I never could get Xcode 10 to compile MuseScore on High Sierra, but after upgrading to Mojave, everything worked just fine. Of course, it is necessary to do 'make -f Makefile.osx xcode' again, and if you have multiple versions of Xcode installed, you may have to familiarize yourself with the xcode-select command, or else make sure that the version you want to use is located in /Applications/Xcode.app.
In reply to I never could get Xcode 10… by mattmcclinch
Thanks. I'm still on High Sierra, using Xcode9 but good to know it's working on Mojave with XCode 10.
How is MuseScore 2.3.2 on Mojave doing ?
In reply to Thanks. I'm still on High… by [DELETED] 5
MuseScore 2.3.2 compiles without a problem with Xcode 10 on Mojave, and from what I can tell, seems to run just like on High Sierra. I haven't tested it thoroughly, but I get audio, and I can enter notes with my MIDI keyboard. Is there anything specific that you are concerned about and would like me to test?
In reply to MuseScore 2.3.2 compiles… by mattmcclinch
Not really. Thanks !
In reply to I never could get Xcode 10… by mattmcclinch
I couldn't build MuseScore on High Sierra and Xcode 10, there were errors related to genManual. After reading your comment, I updated MacOSX to Mojave and again the same errors. Continue research...
In reply to I couldn't build MuseScore… by Anatoly-os
I see you have the ALL_BUILD scheme selected. Are you able to build and run the mscore scheme?
In reply to I see you have the ALL_BUILD… by mattmcclinch
Yes I could successfully build and run mscore scheme. But install step failed.
Anyway, I could make it work in the end. I had to change the target MacOSX version to 10.9 which is suggested by the warnings.
In reply to Yes I could successfully… by Anatoly-os
So, according to the CMAKE docs, this variable "Specifies the minimum version of the target platform (e.g. macOS or iOS) on which the target binaries are to be deployed". There are 93.33% devices using MacOSX >= 10.9 according to the worldwide stats.
UPD: there is no info about MacOSX version MuseScore users are on.