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

Tzahi Moyal

01/17/2019, 10:37 AM
Hi, I’m trying to compile iOS framework with all architectures support Arm64 and iosX64, someone knows how to do it?
s

Sabrina Namur

01/17/2019, 10:59 AM
I did this in my build gradle:
Copy code
final def iOSTarget = System.getenv('SDK_NAME')?.startsWith("iphoneos")   \
                                ? presets.iosArm64 : presets.iosX64

        fromPreset(iOSTarget, 'ios') {
            compilations.main.outputKinds('FRAMEWORK')
        }
t

Tzahi Moyal

01/17/2019, 11:22 AM
this export me iosArm64 or iosX64 framework, I need them both
follow the link there to the gist
t

Tzahi Moyal

01/17/2019, 1:40 PM
10x
4 Views