4 ms·
> hostility towards cross platform development tools LLVM and clang are both cross platform
by andsoitis 3y ago
> hostility towards cross platform development tools
LLVM and clang are both cross platform
- smoldesu 3y agoLLVM was Open Source and supported GNU from the get-go, it didn't make sense to remove support after Apple bought up the core contributors. Clang is indeed an Apple original, but developing it without support for multiple platforms would be paramount to removing features supported in the underlying compiler. If either LLVM or Clang tried removing multiplatform support or totally relicensed itself, it would divide the community and make life hard for Apple. They could probably make WebKit a fully proprietary browser engine by rewriting the KHTML stuff, but what would they gain by removing features from an Open Source product they developed?
- floomk 3y agoLet me know when I can use those to develop an iOS app from Windows or Linux
- riscy 3y agoIf you write it in Swift or Objective-C, you're using LLVM and clang.
- cjensen 3y agoiOS is a supported target in Visual Studio Professional on Windows.
- moron4hire 3y agoIt requires you have a macOS machine somewhere on your network to use Xcode to do the actual build.
- TillE 3y agoMostly true, but you can do a lot of direct development work now with .NET hot restart: https://learn.microsoft.com/en-us/dotnet/maui/ios/hot-restart https://learn.microsoft.com/en-us/dotnet/maui/ios/hot-restar...
- moron4hire 3y agoThis sounds mostly useless.
- deleted 3y ago[deleted]
- seba_dos1 3y agoAFAIK building iOS apps on Linux is possible if you try really hard, but deploying isn't.
- audunw 3y agoI believe Zig is capable of this in a primitive way, and they got there by piggy-backing on LLVM development that Apple has contributed to. There's absolutely nothing Apple is doing to prevent you from developing on iOS from Windows or Linux. Much of the open source development they're doing is making it easier in theory. But in practice, there's just not enough people willing and interesting in putting in the work to set it up. Most iOS developers would just rather use the official tools. And why should Apple put in lots of extra work just to let people develop from other platforms? That's just never going to happen.
- andsoitis 3y agosome people ascribe hostility when instead they should infer indifference. if you have an activist mind, you over index on confirmation bias.
- apatheticonion 3y agoI don't know, considering that the only reason you can't compile an application targetting MacOS from your Linux CI/CD is a license that disallows the use of certain MacOS libraries from being used outside of MacOS - combined with Apple's history of aggressively ring-fencing their users, it's understandable that engineers would feel that it's deliberate. If you copy those libraries illegally to Linux, you can build for MacOS from Linux - so either Apple feels indifferent towards engineers building for MacOS or they want everyone to buy a Mac and compile release software locally. What worse is Apple doesn't provide any server-specific hardware/software for automation - so it really does feel like Apple expects people to build release software on MacBook Pros or something.
- Someone 3y ago> a license that disallows the use of certain MacOS libraries from being used outside of MacOS It doesn’t make a big difference in practice, but is there such a clause in their license? I thought the limitation was on Apple hardware. If so, you can build on Linux running on a Mac mini, for example.
- saagarjha 3y agoYou can do this with a fair amount of effort. I believe licensing prevents you from shipping those apps directly, though.
- mhh__ 3y agoAppleClang is both closed source and (I assume?) only for Mac
- riscy 3y agoIt’s open source: https://github.com/apple/llvm-project https://github.com/apple/llvm-project
- smoldesu 3y agoLLVM and Clang both are. Apple Clang is not. https://developer.apple.com/xcode/cpp/ https://developer.apple.com/xcode/cpp/ https://cmake.org/cmake/help/latest/policy/CMP0025.html https://cmake.org/cmake/help/latest/policy/CMP0025.html
- mhh__ 3y agoAppleClang, not Clang you'd get from (say) apt.