2 ms·
Come on now, you're going to need Xcode at some point during development.
by generalpf 5mo ago
Come on now, you're going to need Xcode at some point during development.
- groby_b 5mo agoNo, you really don't. Apple would like you to use it (god knows why), but it's not necessary.
- brailsafe 5mo agoI feel like this needs a big asterisk. Can you ship a a non-trivial iOS or Mac app that uses SwiftUI or other first-party APIs without Xcode? Is it practical? Those are real questions, some cursory searching did not turn up a concrete answer.
- whstl 5mo agoIt is possible and practical in lots of cases. And it's necessary to use the CLI tools directly in some situations, such as when deploying from CI servers rather than building by hand. Is it possible for 100% of situations? I don't know, because I haven't tried 100% of the situations. And in one case I haven't figured out yet (AUv3).
- groby_b 5mo agoDefine "without Xcode", but if you mean "without using the IDE", yes, absolutely. You obviously still need to use signing pipeline etc, but that can all be done via CLI. As for "non-trivial", here are Chrome's build instructions for macOS: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/mac_build_instructions.md https://chromium.googlesource.com/chromium/src/+/HEAD/docs/m... Which contains the words "While using Xcode is unsupported" :)
- whstl 5mo agoHopefully not! So far I’ve been shipping internal apps without it! Even notarizing works :) Apparently Audio Units v3 is only available with Xcode, which is why I’m only doing v2.