alec
11/25/2018, 3:44 AM.framework
file? I used to do this in the old dsl:
sourceSets {
main {
component {
baseName.set("MultiPlatformProject") // Changes the name of the output .framework file
target 'ios_arm64', 'ios_x64'
outputKinds = [FRAMEWORK]
}
}
}
but unsure if there is an equivalent in the new multiplatform dslthevery
11/25/2018, 9:25 AMalec
11/26/2018, 3:04 PMilya.matveev
01/11/2019, 5:23 AMcustom.framework
is created in this example. The baseName
property is also provided so you can get the same output by writing something like this:
binaries {
framework {
baseName = "bar"
}
}
Jonas Bark
01/11/2019, 7:26 AMbinaries {
executable("foo")
sharedLib()
}
into my target it will create a .dylib which is what I meant with dynamic library (accidently said framework)
Thanks a lot for the framework baseName snippet - that was indeed what I was looking for 🙂ilya.matveev
01/11/2019, 7:54 AMJonas Bark
01/11/2019, 7:59 AM