In fact I wouldn't recommend messing with boot.txt. That's just a solution I was wondering if you're interested in, if you didn't want us to go with what xcode-select returns. Here's what the current popup says when you attempt to compile for mac/ios and we can't find xcode.
This feature requires Xcode.
Install Xcode, or use xcode-select to set the active developer directory, and try again.