yusuf3000
08/09/2018, 2:29 PMkpgalligan
08/09/2018, 2:57 PMyusuf3000
08/09/2018, 3:11 PMMocks.swift
in the unit test targetkpgalligan
08/09/2018, 3:31 PMyusuf3000
08/09/2018, 4:10 PMyusuf3000
08/09/2018, 4:10 PMInt?
kpgalligan
08/09/2018, 4:30 PMyusuf3000
08/09/2018, 4:31 PMkpgalligan
08/09/2018, 4:32 PMyusuf3000
08/09/2018, 4:33 PMKotlinNativeFramework`kfun:konan.internal.ThrowInvalidReceiverTypeException(kotlin.reflect.KClass<#STAR>)kotlin.Nothing:
svyatoslav.scherbina
08/09/2018, 4:34 PM<http://kotlin.Int|kotlin.Int>
(= Swift’s Int32
), but you pass kotlin.Long
.
To workaround the issue, you can use
customerIdType: 0 as Int32 as NSNumber
instead of customerIdType: 0
and
UserSurge: 0.0
instead of UserSurge: 0
yusuf3000
08/09/2018, 4:35 PMyusuf3000
08/09/2018, 4:35 PMyusuf3000
08/09/2018, 4:35 PMyusuf3000
08/09/2018, 4:36 PMsvyatoslav.scherbina
08/10/2018, 6:56 AM