Help, please, running MuseScore from Xcode
I'm trying to run MuseScore from Xcode, but having no luck. It runs for a while, and I can step through main() in mscore, but it reaches line 6570 of mscore
if (!converterMode && !pluginMode) {
if (!argv.isEmpty()) {
and just steps into the "else" branch and exits. I've turned off the debug flag. Any idea what I could be doing wrong? I'm new both to MuseScore and Xcode. Xcode 9.4.1, and I think its the 3.0 development branch of MuseScore that I cloned from gitHub.
The Xcode console shows the following:
warning: 'QtCore' contains a debug script. To run this script in this debug session:
command script import "/Users/jerry/codeprojects/Qt/5.11.2/clang_64/lib/QtCore.framework.dSYM/Contents/Resources/DWARF/../Python/QtCore.py"
To run all discovered debug scripts in this session:
settings set target.load-script-from-symbol-file true
warning: 'QtCore' contains a debug script. To run this script in this debug session:
command script import "/Users/jerry/codeprojects/Qt/5.11.2/clang_64/lib/QtCore.framework.dSYM/Contents/Resources/DWARF/../Python/QtCore.py"
To run all discovered debug scripts in this session:
settings set target.load-script-from-symbol-file true
2018-08-31 21:34:19.837323-0700 mscore[76105:3460334] flock failed to lock maps file: errno = 35
2018-08-31 21:34:19.838692-0700 mscore[76105:3460334] flock failed to lock maps file: errno = 35
(lldb)
The two flock errors were thrown at line #6373:
MuseScoreApplication* app = new MuseScoreApplication(appName2, argc, av);
Thanks for any help with this.
Comments
See "Debugging in XCode 5+" here : https://musescore.org/en/handbook/developers-handbook/compilation/compi…
In reply to See "Debugging in XCode 5+"… by [DELETED] 5
I have already done all of those things, including Un-checking the Debug... box.
In reply to I have already done all of… by loonsailor
Problem solved. I was running another copy of MuseScore, and this was the program's way of not allowing me to do that.
BTW, is there a better place to ask a programming question like this one than in the general discussion forum?
In reply to Problem solved. I was… by loonsailor
The Development forum -). Used to be I'd say, the developers mailing list, or the IRC channel, but both have been plagued by technical problems of late (to the point where the mailing list is all but retired now; the IRC channel is still active but so plagued with spam it's hard to bear).
In reply to The Development forum -). … by Marc Sabatella
Doh! (insert graphic of me slapping my forehead). Thanks, Mark.