Ashish Kumar Joy
03/11/2021, 1:50 PMuli
03/11/2021, 10:51 PMYaniv Sosnovsky
03/14/2021, 12:32 PMGoku
03/14/2021, 11:13 PMNick
03/15/2021, 1:21 AMDavin reinaldo gozali
03/15/2021, 3:01 AMfun myFunction(param1 : String, error : error : CPointer<ObjCObjectVar<NSError?>>?)
how to user that kind of CPointer type ?sushma nayak
03/16/2021, 10:31 AMxcodebuild
command is picking the xcodeproj
instead of workspace.sushma nayak
03/16/2021, 12:50 PMNicholas Tian
03/17/2021, 12:23 AMAndrew Steinmetz
03/17/2021, 6:19 AMiosMain
folder. However I could get them to resolve if I created a folder for each ios architecture ie iosArm64 or 32. Was curious is the expectation to implement the actual implementations for each architecture or was there something I was missing after following this guide to get cocoapods to resolve for ios?
https://kotlinlang.org/docs/native-cocoapods.html#add-a-dependency-on-a-pod-library-from-the-cocoapods-repositoryMichal Klimczak
03/17/2021, 8:47 AMkpgalligan
03/17/2021, 5:54 PMjean
03/17/2021, 7:43 PMimport MyPackage
statement, xcode complains about no such module 'MyPackage'
. Has anyone encounter this error? Do I need to specify something more than
multiplatformSwiftPackage {
packageName("MyPackage")
swiftToolsVersion("5.3")
targetPlatforms {
iOS { v("13") }
}
}
in build.gradle.kts
?Davin reinaldo gozali
03/18/2021, 6:53 AMError: Couldn't find package "karma-webpack@4.0.2" required by "qris-multiplatform-lib-test@1.1.8-rc1" on the "npm" registry.
at MessageError.ExtendableBuiltin (C:\Users\davin\.gradle\yarn\yarn-v1.15.2\lib\cli.js:721:66)
at new MessageError (C:\Users\davin\.gradle\yarn\yarn-v1.15.2\lib\cli.js:750:123)
at PackageRequest.<anonymous> (C:\Users\davin\.gradle\yarn\yarn-v1.15.2\lib\cli.js:35729:17)
at Generator.throw (<anonymous>)
at step (C:\Users\davin\.gradle\yarn\yarn-v1.15.2\lib\cli.js:304:30)
at C:\Users\davin\.gradle\yarn\yarn-v1.15.2\lib\cli.js:317:13
at process._tickCallback (internal/process/next_tick.js:68:7)
I'm already try to switch using public connection and work smoothly
set proxy to C:\Users\<username>\.npmrc
or C:\Users\<username>\.yarnrc
don't give any effect
should I change proxy configuration via gradle DSL ? or is there any solution for these issue ?Joseph Roffey
03/18/2021, 12:32 PMKotlin supports interoperability with Objective-C dependencies and Swift dependencies if their APIs are exported to Objective-C with theI am hitting an issue trying to depend on a pod (SPPermissions) which I think might be because it is a “Pure Swift” dependency, although I’m not sure I can be certain about that, as this is the first pod I’ve tried to depend on… As it says “Pure Swift dependencies are not yet supported” I was wondering if there is a link to monitor the planned implementation of supporting Pure Swift dependencies, and was wondering if there is a suggested workaround e.g. forking the relevant project and adding in theattribute. Pure Swift dependencies are not yet supported.@objc
@objc
exports required or else releasing a delegate project that simply imports the Swift dependency and exposes an Objective C api?
I’m by no means an expert on KMM so am worried I might be trying to do something that just can’t work with the current methodology, but I’d be keen to hear any advice anyone might have.Shabinder Singh
03/18/2021, 7:24 PMMuhammed khaled
03/18/2021, 9:46 PMKyant
03/18/2021, 11:54 PMjean
03/19/2021, 8:50 AMval factory = DatabaseDriverFactory(context)
val db = MyDatabase(factory.createDriver())
return NewsDatabaseClient(db)
and it works fine. But if I try this on ios:
let factory = DatabaseDriverFactory()
let db = MyDatabase(driver: factory.createDriver())
let client = NewsDatabaseClient(database: db)
I get the following error 'MyDatabase' cannot be constructed because it has no accessible initializers
Does anyone know how I’m suppose to create it?Lena Brusilovski
03/19/2021, 6:20 PMDaniele B
03/20/2021, 12:34 PMLena Brusilovski
03/21/2021, 6:05 AMJoost Klitsie
03/21/2021, 10:38 AMexternal
on my JS project and that doesn't fly for the other platforms, so there I expect/actual the interface). All the rest is simply an interface with implementations on different platforms and my dependency injection wiring it up. Are there guidelines for this?ptsiogas
03/21/2021, 1:38 PMspec.source = { :git => "Not Published", :tag => "Cocoapods/#{spec.name}/#{spec.version}" }
This works fine locally but I want to change it to something like:
spec.source = { :git => 'git@my_path.git', :tag => s.version.to_s}
P.S Ideally I would like to use 2 repositories (Android + KMM, iOS) and feed the iOS app with a KMM cocoa pod.Benoît
03/22/2021, 10:45 AMCoroutineExceptionHandler
Swift object
Has anyone managed to fix this issue?Archie
03/22/2021, 10:53 AMIosClientEngine
inside iosMain
but I cant seem to find the build function Ios
? Ive added the dependency io.ktor:ktor-client-ios:1.5.2
. Is there anything I should do? Does anyone have an example of this. Please help. Thanks in advance.Lena Brusilovski
03/22/2021, 12:20 PMAndyeshiet
03/22/2021, 7:00 PMsushma nayak
03/22/2021, 9:48 PMThomas Flad
03/23/2021, 9:51 AM> Task :common:compileDebugAndroidTestKotlinAndroid FAILED
e: /common/BaseTest.kt: (5, 23): Expected class 'BaseTest' has no actual declaration in module <common_debug> for JVM
I’m a little lost because I have no JVM target only Android and iOS.Thomas Flad
03/23/2021, 9:51 AM> Task :common:compileDebugAndroidTestKotlinAndroid FAILED
e: /common/BaseTest.kt: (5, 23): Expected class 'BaseTest' has no actual declaration in module <common_debug> for JVM
I’m a little lost because I have no JVM target only Android and iOS.Kris Wong
03/23/2021, 1:16 PM:common:compileDebugAndroidTestKotlinAndroid
. but you say it succeeds if you're not running the sonarqube task?Thomas Flad
03/24/2021, 6:09 PMKris Wong
03/24/2021, 6:18 PMmagnumrocha
08/24/2021, 11:53 AMandroidTest)