r/iOSProgramming • • 13d ago

3rd Party Service Build Xcode projects on Linux with SweetPad

https://sweetpad.hyzyla.dev/blog/2026/11/21/build-xcode-projects-on-linux/

Hello! I would like to share my CLI that allow to build native iOS applications on Linux. It works with Xcode projects with zero changes and make possible to build native ios applications without macOS at all

17 Upvotes

16 comments sorted by

View all comments

2

u/mrdzyn 11d ago

This is a really interesting idea. Curious how you're handling the parts that usually depend on Apple's own tooling, like compiling asset catalogs and storyboards, and code signing? I could see this being super handy for CI runners where macOS minutes get expensive, even if the final signing and upload still happens on a Mac.

2

u/hyzyla 11d ago

Most of those tools I reimplmented them from scratch to make them work on linux. here is a list of those tools:

  • Storyboards and XIBs — ibtool
  • Asset catalogs — actool
  • Core Data models — momc
  • Core Data migration mappings — mapc
  • String Catalogs — xcstringstool
  • App Intents metadata — appintentsmetadataprocessor
  • Code signing — codesign
  • Entitlement encoding — derq

Some are hard to port, so they stay on mac. I'm thinking maybe to have remote server or something that will allow remotly call those

  • Metal shaders — metal, metal-ar, metallib
  • Core ML models — coremlc
  • SceneKit assets and shaders — scntool, copySceneKitAssets, compileSceneKitShaders
  • RealityKit assets — realitytool
  • AR reference objects — referenceobjectc
  • SpriteKit texture atlases — TextureAtlas