https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
n

Nikolai

04/03/2019, 4:54 AM
Hi, everyone. In multiplatform project is where any way to build app.framework for iOS part without running XCode? Just build this framework from IDEA and use it in desired way.
o

olonho

04/03/2019, 5:11 AM
yes, it is possible, just produce framework with
binaries.framework()
DSL. No need to run XCode IDE (although XCode CLI tools have to be installed)
n

Nikolai

04/03/2019, 5:25 AM
@olonho Thank you for quick reply. Do I understand it right that if I want to create a task for building framework it should be like:
Copy code
task buildMyFramework {
    kotlin.targets."ios".binaries.framework()
}
? And where I can found app.framework after that? I ran this task and didn’t find compiled binary.
Nevermind I found it
2 Views