Speaker

Kohki Miki

Kohki Miki

Senior Engineer @ LINE Corp

Tokyo, Japan

iOS Engineer of Developer Experience Development Team @ LINE Corp. I work to improve the iOS development environment for LINE; one of the world's largest communication apps. An OSS maintainer for widely used Mobile DevOps tools like fastlane, XcodeGen, Carthage, and so on.

Effective build cache for Swift Packages

Swift Package is the most popular solution to distribute dependencies.
However, it's unable to reuse built artifacts. It's challenging to maintain build velocity, especially in huge projects.
Using XCFrameworks helps create reusable build artifacts. But, these are not as convenient as using SwiftPM, for instance, there is no way to resolve dependency graphs.

Therefore, Converting Swift Packages into XCFrameworks helps to manage build artifacts caches along with keeping SwiftPM convenient.

This talk introduces a novel method to construct XCFrameworks from Swift packages using SwiftPM internal implementations.

This session discusses the following topics:

- Introducing a new method to construct XCFrameworks from Swift packages using SwiftPM internal
- Supporting SwiftPM features like resource bundles or Clang packages.
- Learn about Library Evolution, its current restrictions, and workarounds.

Additionally, in a practical example, we introduce a new developing build tool Scipio (https://github.com/giginet/Scipio), and a case study improving build workflow in a huge project using this.
Scipio not only generates XCFrameworks from Swift Packages but manages caches.
Thanks to this tool, we improve the build workflow of our messaging app, LINE, which has one of the world's largest user bases, to be more stable.

Let's meet the deep side of SwiftPM!

Kohki Miki

Senior Engineer @ LINE Corp

Tokyo, Japan

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top