Skip to content

Add support for iOS target#269

Open
opatry wants to merge 10 commits intomainfrom
ios-target
Open

Add support for iOS target#269
opatry wants to merge 10 commits intomainfrom
ios-target

Conversation

@opatry
Copy link
Copy Markdown
Owner

@opatry opatry commented Jun 21, 2025

Description

Quick & dirty proof of concept of iOS target (using CMP, without SwiftUI).

Still a lot to do to validate and clean, in particular:

  • Update licenses_ios.json following recent lib updates on main branch.
  •  Adjust "force" parameter usage for iOS OAuth impl
  • Double check auth flow impl
    • special care needed around warning an background task management
  • KtorMonitorLogging UI
    • there are notifications, but clicking on it does nothing, how to display the UI?
  • iOS build takes +6min… more than the double of the others 😱
    • only run it nighlty?
      • ✅ added nightly build
    • determine if it can be improved? (download of iOS SDK? caching?)
      • ❌ caching is either not properly done or is useless
      • ❌ tried building less (only the gradle part with linkDebugFrameworkIosSimulatorArm64 without xcodebuild, still roughly the same duration)
Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler.
Downloading dependency https://download.jetbrains.com/kotlin/native/resources/llvm/19-aarch64-macos/llvm-19-aarch64-macos-essentials-74.tar.gz to /Users/runner/.konan/dependencies/cache/llvm-19-aarch64-macos-essentials-74.tar.gz
Done.
Extracting dependency: /Users/runner/.konan/dependencies/cache/llvm-19-aarch64-macos-essentials-74.tar.gz into /Users/runner/.konan/dependencies
Downloading dependency https://download.jetbrains.com/kotlin/native/libffi-3.3-1-macos-arm64.tar.gz to /Users/runner/.konan/dependencies/cache/libffi-3.3-1-macos-arm64.tar.gz
Done.
Extracting dependency: /Users/runner/.konan/dependencies/cache/libffi-3.3-1-macos-arm64.tar.gz into /Users/runner/.konan/dependencies

Checklist

  • I have read the CONTRIBUTING guide
  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci 🤖 Continuous integration related issues ios app 🍎 Related to the iOS application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant