Using .framework file in swift package

Hi, I built iOS framework from kotlin multiplatform (core.framework). Then, I create iOS project using swift 5.2/5.3(beta) and using swift package as strategy for modularisation. I have multiple swift package and one of them is billing package. I want to include core.framework to this billing package locally (to others package as well). I am doing this because all my business logic handled already in kotlin multiplatform, so, I just want to display the data from core.framework that produced. Is it possible to do this?

You could package it as a binary dependency. This has more information: https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages

Terms of Service

Privacy Policy

Cookie Policy