https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
multiplatform
  • j

    Jannis

    03/23/2021, 3:02 PM
    Hey, I have a few questions regarding publishing mpp libraries and probably publishing in general as I am quite new to both. I'll post them in a thread below:
    • 1
    • 1
  • a

    Alberto

    03/23/2021, 3:59 PM
    what’s the recommended way of handling unit tests for classes that may have different way of constructing them on Android/iOS? Example SQLDelight requires an Android Context to be passed to the AndroidSqliteDriver while it’s not used for the NativeSqliteDriver. Is it better to create separate tests for Android module and iOS module, or use the common test module and check at runtime somehow if we’re testing on Android (pass the context then) vs iOS?
    j
    d
    • 3
    • 6
  • j

    Julius

    03/23/2021, 5:17 PM
    Anyone else having problems using cocoapods in KMM?
    > Task :SharedCode:cinteropAFNetworkingIosX64 FAILED
    Exception in thread "main" java.lang.Error: /var/folders/j7/fqrxk_js0sn4r2blxl4kq0fm0000gn/T/14707145049679086784.m:1:9: fatal error: module 'AFNetworking' not found
    a
    • 2
    • 5
  • e

    Evan

    03/23/2021, 10:08 PM
    What’s currently the best approach for writing unit tests for the common module when it comes to mocking frameworks? I see that
    MockK
    has a
    mockk-common
    module now. However KampKit is using
    Karmok
    which doesn’t look like it’s been updated in a while.
    b
    • 2
    • 1
  • b

    Before Old

    03/24/2021, 4:26 AM
    Hi there, my team is new to kmm, have a question about publishing a kmm framework from ios side. if we want to track the uncaught exception trace of kotlin, do we have to publish a debug framework instead of a release one? (we have read issues and docuement about this, not so sure) https://github.com/JetBrains/kotlin-native/issues/2600 https://kotlinlang.org/docs/native-ios-symbolication.html
    a
    • 2
    • 1
  • a

    Artyom Degtyarev [JB]

    03/24/2021, 2:43 PM
    Hello everyone! Some time ago, I posted a call for an interview. It can be found here. I want to talk about the linuxX64 target usage across Kotlin Multiplatform projects. If you would like to participate in an interview about ~30 minutes long, please send me a DM or use the 🙋 reaction below.
    🙋 3
    r
    • 2
    • 2
  • s

    Sebastian Sellmair [JB]

    03/24/2021, 6:36 PM
    Just asking out of curiosity: Is there any library author, that would actually like to have types coming from a custom c-interop in their public APIs? I am not sure if this should actually be supported and if it would be a good thing for the MPP ecosystem. Any feedback is greatly appreciated!
    k
    r
    • 3
    • 2
  • e

    Evan

    03/24/2021, 10:54 PM
    I have a KMP library that I’m trying to write common tests for. My common code uses an expect/actual object to provide a platform specific dependency. Is there a way to provide a stub implementation for the commonTest module? Specifically, Android/iOS provide their own main and background Dispatchers. When running the commonTests I get the error:
    Exception in thread "Test worker @coroutine#1" java.lang.IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
    However, kotlinx-coroutines-test is only for the JVM, so I’m not sure what to do here.
    b
    r
    k
    • 4
    • 3
  • r

    rsktash

    03/25/2021, 8:44 AM
    Hi. Can we use
    ASAuthorizationController
    in iosMain module? I want to use sign in with Google in android and sign in with Apple in ios but the signing in logic must be separated from ui
    • 1
    • 1
  • s

    Shawn Tucker

    03/25/2021, 11:14 AM
    Hello, I am experiencing runtime crash when I try to access any of my Kotlin Library classes from iOS The error I get is not related to my actual code… (I try to initialize some other class that is not related to the class from the crash) It seems like swift is trying to materialize my classes during runtime and fails? What should I do?
    b
    • 2
    • 6
  • i

    ivan.savytskyi

    03/25/2021, 1:36 PM
    Hey folks, I'm trying to log exception on iOS via
    throwable.stackTraceToString()
    . But calling this API crashes with
    ncorrectDereferenceException: Trying to access top level value not marked as @ThreadLocal or @SharedImmutable from non-main thread
    exception and from stack trace of crash on iOS looks like it happens inside Throwable:
    #16	0x000000010fb50ffa in kfun:kotlin.Throwable.<init>$lambda-0#internal at /Users/teamcity/buildAgent/work/f01984a9f5203417/runtime/src/main/kotlin/kotlin/Throwable.kt:33
    #17	0x000000010fb511ef in kfun:kotlin.Throwable.$<init>$lambda-0$FUNCTION_REFERENCE$119.invoke#internal at /Users/teamcity/buildAgent/work/f01984a9f5203417/runtime/src/main/kotlin/kotlin/Throwable.kt:32
    #18	0x000000010fb7e907 in kfun:kotlin.native.concurrent.FreezeAwareLazyImpl.getOrInit#internal at /Users/teamcity/buildAgent/work/f01984a9f5203417/runtime/src/main/kotlin/kotlin/native/concurrent/Lazy.kt:28
    #19	0x000000010fb7f0b0 in kfun:kotlin.native.concurrent.FreezeAwareLazyImpl#<get-value>(){}1:0 at /Users/teamcity/buildAgent/work/f01984a9f5203417/runtime/src/main/kotlin/kotlin/native/concurrent/Lazy.kt:55
    #20	0x000000010fb4e975 in getValue [inlined] at /Users/teamcity/buildAgent/work/f01984a9f5203417/backend.native/build/stdlib/kotlin/util/Lazy.kt:44
    #21	0x000000010fb4e93f in kfun:kotlin.Throwable.<get-stackTraceStrings>#internal at
    Did anyone run into this as well? Also just ran quick test by doing this
    val tmp = RuntimeException().getStackTrace()
    it crashes as well
    b
    • 2
    • 7
  • s

    sushma nayak

    03/25/2021, 6:55 PM
    I have a function something like
    suspend fun <T : Any> request(target: APITarget, responseDeserializer: DeserializationStrategy<T>, response: (NetworkResult) -> Unit): Cancelable
    How do I test this? Wait till the response lamda completes and cross verify the result. Putting the test inside runblocking doesn’t work.
    b
    a
    • 3
    • 13
  • j

    jean

    03/26/2021, 6:59 AM
    I’m using sqldelight in my multiplateform package. I want to add a new table to my existing database. Should I create a migration file 
    1.sqm
      and have the
    CREATE
    statement there? What about the requests I want to make on that table, should they be in the same migration file?
    k
    • 2
    • 4
  • b

    Big Chungus

    03/26/2021, 9:14 AM
    Is anyone working on sqldelight-like mpp lib for mongodb?
    • 1
    • 1
  • j

    Jilles van Gurp

    03/26/2021, 1:08 PM
    What are good options for mocking multiplatform kotlin currently? I'm particularly interested in kotlin-js currently but might also need kotlin-native (and of course jvm; we use mockk for that).
    b
    j
    • 3
    • 11
  • d

    Daniele B

    03/26/2021, 4:37 PM
    I just published a short article: How much can we share in Kotlin MultiPlatform: • single modules? • data layer? • view model? https://danielebaroncelli.medium.com/how-much-to-share-in-kotlin-multiplatform-a-module-the-data-layer-the-view-model-5bb594eb3a2a
    👍 3
    👍🏽 1
    r
    k
    +2
    • 5
    • 22
  • n

    Nikky

    03/27/2021, 1:36 PM
    can i have a shared sourceset for JVM + android ? or would the differences in the stdlib mean i have to use
    common
    and expect/actual ? my goal is to build a UI with compose desktop and a android app the app probably in a separate project , just consuming the shared code as library
    d
    • 2
    • 2
  • t

    Tiago Nunes

    03/28/2021, 1:29 AM
    Hi, I'm new to KMP/KMM, I was trying to add an Android module to an existing KMP project (copying from the compose-multiplatform sample from IntelliJ IDEA). The structure is as follows: • android module • webBackend module • common module ◦ commonMain ◦ commonTest ◦ androidMain ◦ androidTest ◦ webBackendMain ◦ webBackendTest From what I understood from the sample, I'm supposed to create an android library in the common module, which will contain the "actual"s. I tried doing so, but I get this error when syncing the project: No variants found for 'common'. Check build files to ensure at least one variant exists. Does anyone know what could be happening? I'm trying to find answers for hours, but the setup looks exactly like the sample, yet the sample syncs and my project doesn't... commom/build.gradle.kts:
    plugins {
        kotlin("multiplatform")
        id("com.android.library")
    }
    
    group = "me.tnunes"
    version = "1.0-SNAPSHOT"
    
    kotlin {
        android {
            compilations.all {
                kotlinOptions {
                    jvmTarget = "1.8"
                    useIR = true
                }
            }
        }
        jvm("webBackend") {
            compilations.all {
                kotlinOptions {
                    jvmTarget = "1.8"
                    useIR = true
                }
            }
        }
        sourceSets {
            val commonMain by getting
            val commonTest by getting
            val webBackendMain by getting
            val webBackendTest by getting
            val androidMain by getting {
                dependencies {
                    api("androidx.core:core-ktx:1.3.2")
                    api("androidx.appcompat:appcompat:1.2.0")
                    api("androidx.constraintlayout:constraintlayout:2.0.4")
                }
            }
            val androidTest by getting {
                dependencies {
                    implementation("junit:junit:4.13.2")
                }
            }
        }
    }
    
    android {
        compileSdkVersion(30)
        buildToolsVersion("30.0.3")
        sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
        defaultConfig {
            minSdkVersion(23)
            targetSdkVersion(30)
        }
    }
    • 1
    • 1
  • a

    Animesh Sahu

    03/28/2021, 9:16 AM
    How do you define a SAM-able interface in K/Multiplatform so that it could be interoperable with Java in the end?
    ✔️ 1
    • 1
    • 1
  • j

    John O'Reilly

    03/28/2021, 10:40 AM
    I've been primarily using CocoaPods plugin for KMP projects here but was helping someone with issue they were seeing resolving SQLDelight dependency in Android Studio in iOS source set when using "packForXCode" approach (that you get by default when using KMM plugin for example). In such a project you get following by default
    ios {
            binaries {
                framework {
                    baseName = "shared"
                }
            }
        }
    If you then add following to
    iosMain
    dependencies (along with
    commonMain
    one)
    implementation("com.squareup.sqldelight:native-driver:$sqldelight")
    and try then for example to create instance of
    NativeSqliteDriver
    in iosMain source, Android Studio doesn't show option to import and also shows error if you manually add import. If however we add
    iosX64("ios")
    for example then we don't see this issue. Anyone else come across this?
    z
    s
    • 3
    • 3
  • r

    Ryan Simon

    03/28/2021, 2:02 PM
    Hey all, I've got a project configuration conundrum I'm hoping someone can help me with. I'm currently evaluating KMM for my current employer, and I'm trying to figure out the best way to setup code sharing for two existing projects. My initial thought was to have my multiplatform code live in its own git repository and have it generate the libraries we need and publish them locally so the iOS and Android repositories can access them that way. The problem I ran into is a lack of documentation around this approach. It seems JetBrains encourages a mono repo setup, but we may not be able to achieve that right now. Any resources you can point me to for doing a local library approach by keeping the multiplatform code separate from the iOS and Android projects would be super appreciated. Thanks in advance!
    👍 1
    m
    s
    +4
    • 7
    • 11
  • l

    Lena Brusilovski

    03/28/2021, 4:29 PM
    How do i get CGRect from CValue<CGRect> ?
    j
    • 2
    • 1
  • j

    james

    03/29/2021, 1:26 AM
    Hey all, losing my mind as a non-ios dev getting a Cocoapod dependency to work in my shared module.
    cocoapods {
            summary = "BackgroundApp"
            homepage = "testing"
            frameworkName = "BackgroundApp"
    
            ios.deploymentTarget = "10.0"
    
            specRepos {
                url("<https://github.com/localz/Spotz-iOS-Specs.git>")
            }
            pod("LocalzDriverSDK")
        }
    > Task :app:cinteropLocalzDriverSDKIosArm64 FAILED
    Exception in thread "main" java.lang.Error: /var/folders/w5/rb3knwwx5tz9hgbs3v2122tc0000gn/T/6978372664297732967.m:1:9: fatal error: module 'LocalzDriverSDK' not found
    	at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
    	at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesASTFiles(ModuleSupport.kt:68)
    	at org.jetbrains.kotlin.native.interop.indexer.ModuleSupportKt.getModulesInfo(ModuleSupport.kt:14)
    	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.buildNativeLibrary(main.kt:506)
    	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:264)
    	at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:74)
    	at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
    	at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:19)
    	at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:41)
    The dependency is on a custom spec repo here https://github.com/localz/Spotz-iOS-Specs.git Podspec itself https://github.com/localz/Spotz-iOS-Specs/blob/master/LocalzDriverSDK/1.7.2/LocalzDriverSDK.podspec The source git repo it points to https://github.com/localz/Localz-Driver-iOS-SDK Any ideas?
    a
    c
    • 3
    • 3
  • j

    Justin Tullgren

    03/29/2021, 4:05 PM
    Hello everyone, I am running into a Mono Repo Intellij Bug which says kotlin is not configured.  There are a lot of bugs in you track with that issue (that are closed or markedd fixed) so I am wondering if I am missing something. The issue appears as soon as i add the
    android
    preset to the common MPP module. After a sync the JVM module then stops working
    :thread-please: 1
    e
    p
    +2
    • 5
    • 14
  • j

    jbruckne

    03/29/2021, 6:05 PM
    How does a gradle project specify which target of a multiplatform library to consume. Like if I publish both jvm and android targets from a kmm library project, can I then specify something like 
    implementation('com.example:MyKMMProject-jvm:1.0')
      in the host gradle project?
    t
    • 2
    • 3
  • l

    Lena Stepanova

    03/30/2021, 11:01 AM
    Hi everyone, I want to share our experience with KMM here https://proandroiddev.com/kotlin-multiplatform-mobile-young-technology-with-promising-future-66b62dd4b723
    :thank-you: 1
    🎉 6
    a
    c
    d
    • 4
    • 5
  • g

    Guilherme Cordeiro

    03/30/2021, 1:14 PM
    Hello all! Good <insert part of the day on you timezone>! 😄 It might totally be ignorance on my part, but I am having trouble on the following multi-platform / multi-modules scenario: • I have base KMM modules, that only have external dependencies • And service KMM modules, which may depend on base modules and/or external dependencies • When I import my base modules locally (through
    project(":mybasemodule")
    ) all goes well, project compiles, runs and I can publish the artifacts on my maven repository • When I publish my base modules and import them on the service modules as remote dependencies, Android Studio resolves them (through some .knm bridging files) but my compilation fails due
    Unresolved Reference
    to the objects/methods defined on my base module I am currently using only
    Android
    target (to limit my scope) and publishing android library variants besides the
    common
    default one.
    android {
            publishLibraryVariants("debug", "beta", "release")
        }
    Also, I'm importing all base KMM module dependencies on
    commonMain
    only:
    val commonMain by getting {
                dependencies {
                    api(
                        if (remoteDeps) Frameworks.Logging.lib //import from maven
                        else project(Frameworks.Logging.proj) //pont to local project
                    )
                    ...
                }
                ...
    I'm using AS 4.1.3, with buildTools plugin 4.1.3 gradle 6.8.3 and Kotlin stdlib 1.4.21 Anyone has any idea on what I might be doing wrong? Thanks in advance for any ideas/advices 🙏
    • 1
    • 3
  • j

    Jordi Saumell

    03/30/2021, 2:48 PM
    Hello everyone! I am trying to split my kmp ‘shared’ module into smaller modules and I am stuck. Inside the ‘shared’ module I’ve created a new multiplatform module (I tried with java/kotlin library too, but I was not able to import it). I have included it in “commonMain” as “api(project(“😒hared:core”))” and it syncs correctly, but when I try to use a class which is in the shared:core module (from the shared module) it cannot be reached. I have also tried to look into the kmpp-template from moko but as most of the gradle setup is done by their library I was not able to understand how to set it up.  I attach the gradle files in a thread. Any hint or reference to a guide will be much appreciated! Thank you!
    ✔️ 1
    j
    • 2
    • 16
  • l

    leandro

    03/30/2021, 4:11 PM
    I’m getting an error trying to use cocoapods dependency on my
    iosMain
    . the config of Cocoapods is:
    cocoapods {
        summary = "..."
        homepage = "..."
    
        frameworkName = "test"
    
        ios.deploymentTarget = '8.0'
    
        pod('Analytics') { version = '~> 4.1.2' }
        pod('Segment-Amplitude') { version = '~> 3.2.3' }
        pod('segment-appsflyer-ios') { version = '6.1.4' }
        podfile = project.file("src/iosMain/Podfile")
      }
    with Podfile being
    use_frameworks!
    
    platform :ios, '8.0'
    
    target 'ios-app' do
            pod 'kotlin_library', :path => '../kotlin-library'
    end
    The error is on the thread 🧵
    p
    s
    +2
    • 5
    • 8
  • c

    Colton Idle

    03/30/2021, 9:47 PM
    I followed this tutorial but cannot deploy to my iOS simulator. Any ideas? 🧵

    https://www.youtube.com/watch?v=GcqFhoUuNNI▾

    b
    k
    • 3
    • 6
Powered by Linen
Title
c

Colton Idle

03/30/2021, 9:47 PM
I followed this tutorial but cannot deploy to my iOS simulator. Any ideas? 🧵

https://www.youtube.com/watch?v=GcqFhoUuNNI▾

Here is what I'm seeing when trying to deploy to ios sim.
b

Benoît

03/31/2021, 1:13 PM
Which version of Xcode are you using?
c

Colton Idle

03/31/2021, 1:16 PM
Latest AFAIK. No updates available in app store.
k

Konstantin Tskhovrebov

03/31/2021, 5:52 PM
What does
xcodebuild -version
say?
in terminal
c

Colton Idle

03/31/2021, 10:30 PM
Fixed it. Details here: https://youtrack.jetbrains.com/issue/KT-45800
View count: 18