|
|
|
|
|
by catapps
409 days ago
|
|
I've been starting to use Swift again lately after like four years, and while the language is beautiful & the package management story is now a LOT better with SwiftPM, I found that none of it plays nicely with XCode, Simulator, or anything to do with iOS/macOS development -- its primary use-case! I found myself awestruck that I *HAD* to use XCode or xcodebuild, and could not just run `swift build` and generate an iOS app. In the end, I had to: - compile the .app structure myself - run codesign manually - manage the simulator manually - bundle xcAssets manually - provide swift linker flags manually targeting the toolchain/sdk I needed - manually copy an embedded.mobileprovision It was a good learning experience, but what's the story here? Did Apple just give away Swift to the OSS community and then make no ongoing effort to integrate their platforms nicely into the non-xcode build tooling? Looking into https://github.com/stackotter/swift-bundler |
|