swift-emacs / swift-mode

Emacs support for Apple's Swift programming language.
GNU General Public License v3.0
363 stars 47 forks source link

How do you configure what scheme to build? #163

Closed ghost closed 3 years ago

ghost commented 4 years ago

I haven't been able to find any documentation on build-ios-app function. It defaults to a UITest scheme, rather than the one I need to build. Is there a way to configure this?

taku0 commented 4 years ago

Try M-x describe-function then swift-mode:build-ios-app to find the documentation.

Use C-u prefix (C-u M-x swift-mode:build-ios-app) to supply arguments interactively. Once you supply a scheme, it will be set as a default.

If you cannot choose a scheme even with C-u perfix, please paste the result of xcodebuild -list -json from a terminal.