• p

    pardom

    3 years ago
    p
    kpgalligan
    +1
    43 replies
    Copy to Clipboard
  • bdeg

    bdeg

    3 years ago
    is there a gradle plugin to publish kotlin multiplatform ios framework to CocoaPods?
    bdeg
    b
    +5
    30 replies
    Copy to Clipboard
  • j

    juliocbcotta

    3 years ago
    Hi, I am trying to update a project from the old format for mpp projects to the current format, but I stuck with a problem when running the android app... it seems that the Activity is not found in the main dex...
    2019-03-05 21:46:22.422 25541-25541/br.com.youse.forms.app E/AndroidRuntime: FATAL EXCEPTION: main
        Process: <http://br.com.youse.forms.app|br.com.youse.forms.app>, PID: 25541
        java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{<http://br.com.youse.forms.app/br.com.youse.forms.samples.form.FormLoginActivity|br.com.youse.forms.app/br.com.youse.forms.samples.form.FormLoginActivity>}: java.lang.ClassNotFoundException: Didn't find class "br.com.youse.forms.samples.form.FormLoginActivity" on path: DexPathList[[zip file "/data/app/br.com.youse.forms.app-B2ycXZrm8-D79TrXtKX7Iw==/base.apk"],nativeLibraryDirectories=[/data/app/br.com.youse.forms.app-B2ycXZrm8-D79TrXtKX7Iw==/lib/x86, /system/lib, /vendor/lib]]
    ...
         Caused by: java.lang.ClassNotFoundException: Didn't find class "br.com.youse.forms.samples.form.FormLoginActivity" on path: DexPathList[[zip file "/data/app/br.com.youse.forms.app-B2ycXZrm8-
    I did check if the Activity in the AndroidManifest is right and I could run the same
    :app
    code switching the local mpp project to a published dep. I also can ran the unit tests from commonTest just fine. Does anyone has ran into something like that? I uploaded my current work here https://github.com/BugsBunnyBR/forms-mpp-problem if anyone want to take a look...
    j
    josephivie
    6 replies
    Copy to Clipboard
  • d

    Diogo Ribeiro

    3 years ago
    Hi guys, somebody is working on an UI library? I cannot override UITableViewDataSource property on kotlin. What am I doing wrong? Is it supported?
    d
    m
    +6
    12 replies
    Copy to Clipboard
  • Riccardo Montagnin

    Riccardo Montagnin

    3 years ago
    Hello everyone. Where should I put the sources folder in order to have
    actual
    classes for the android instrumented tests? Right now I'm putting them into
    androidTest
    , but they are executed as unit tests. If I try running
    gradle checkConnected
    I get the following error:
    Expected object 'XYZ' has no actual declaration in module
    How should I configure the project to have instrumented tests?
    Riccardo Montagnin
    Kris Wong
    3 replies
    Copy to Clipboard
  • m

    Marc Knaup

    3 years ago
    Will multiplatform for iOS become more Swift-like? I can't believe
    NSInteger
    is back 😢
    m
    kpgalligan
    +3
    9 replies
    Copy to Clipboard
  • m

    max.cruz

    3 years ago
    Hello. I’m having an issue with a shared library iOS/Android. When including the framework in XCode:
    @property (readonly) double double;
    @property (readonly) float float;
    @property (readonly) int32_t int;
    Apparently symbols generated by Kotlin Native aren’t compatible with Objective C
    m
    1 replies
    Copy to Clipboard
  • i

    ivan.savytskyi

    3 years ago
    Hey folks, I’m trying to find out why for some classes defined on KN there is strange name generated (in header files), for example:
    __attribute__((swift_name("Kotlinx_coroutines_core_nativeCoroutineDispatcher")))
    @interface MainKotlinx_coroutines_core_nativeCoroutineDispatcher : MainKotlinAbstractCoroutineContextElement <MainKotlinContinuationInterceptor>
    
    __attribute__((swift_name("Ktor_client_coreHttpClientEngineConfig")))
    @interface MainKtor_client_coreHttpClientEngineConfig : KotlinBase
    
    etc.
    And it looks weird on Swift side to have smth like this
    public class UICoroutineContext: Kotlinx_coroutines_core_nativeCoroutineDispatcher
    i
    olonho
    2 replies
    Copy to Clipboard
  • p

    pardom

    3 years ago
    Kotlin mpp is converting my generic type parameters to
    Any?
    . Is this expected?
    p
    1 replies
    Copy to Clipboard
  • p

    pardom

    3 years ago
    Should I just type cast in this case?
    p
    kpgalligan
    2 replies
    Copy to Clipboard