Marc Reichelt
10/27/2021, 10:16 AMactual
implementation for all iOS variants (which can be 3 if we also add the arm64-simulator).Hadji Musaev
10/27/2021, 2:39 PMExecution failed for task ‘:generateDebugBuildConfig’.
> Error while evaluating property ‘buildConfigPackageName’ of task ‘:generateDebugBuildConfig’
> Failed to calculate the value of task ‘:generateDebugBuildConfig’ property ‘buildConfigPackageName’.
> Failed to query the value of property ‘packageName’.
> Manifest file does not exist: /…/src/main/AndroidManifest.xmlAnd indeed the project structure is different and my android modules are
androidMain
and androidTest
, not just main
and test
. Has anyone had to solve this problem?Sylvain Patenaude
10/27/2021, 8:05 PMfreeze()
isn't part of the stdlib-common?
Would be useful in multiplatform common code.Ahmet Özcan
10/27/2021, 8:44 PMnapperley
10/27/2021, 10:44 PMGoth
10/28/2021, 12:05 AMBrian Donovan
10/28/2021, 12:42 AM"io.ktor:ktor-server-cio"
can I use this with commonMain?Marc Reichelt
10/28/2021, 9:29 AMcreateXCFramework
task, which is different from the assembleMyModuleReleaseXCFramework
task that the official Kotlin tooling provides, but does not support the arm64-simulator slice at the moment.
I’m kind of tempted to write some custom Gradle tooling already, because creating the swiftpackage is basically: creating the xcframework (which assembleMyModuleReleaseXCFramework
already does), creating a simple Package.swift
file, and zipping that.
Thanks a lot for helping! 👏Charles Jo
10/28/2021, 12:03 PMYehonatan Levi
10/28/2021, 12:15 PMSylvain Patenaude
10/28/2021, 4:00 PM/src/iosTest
because it involves native stuff like workers.
I also have some multiplatform code spread like this:
• In src/commonMain
, code with some expected
declarations.
• In src/jvmMain
, code with some actual
declarations.
• In src/iosMain
, code with some actual
declarations.
Now when I run this on a simulator (vmImage masOS-10.14
on DevOps), I get the following error when the process tries to run task `compileKotlinIosSim`:
Expected function 'myFunction' has no actual declaration in module <MyModule> for Native
Now technically I have 2 targets, iosX64("iosSim")
and iosArm64("ios")
, so I think this is causing my issue, but I don't know how to fix it.
Thanks in advance for the help!Graeme Laws
10/28/2021, 9:40 PMjimmyt
10/28/2021, 11:56 PMkavi
10/29/2021, 2:30 PMCould not resolve all files for configuration ':samples:unflow-compose:debugRuntimeClasspath'.
> Could not resolve com.unflow:unflow:1.0.1.
Required by:
project :samples:unflow-compose > com.unflow:unflow-ui:1.0.1
> Could not determine whether value 7.2.0-alpha02 is compatible with value 7.1.0-beta02 using AgpVersionCompatibilityRule.
> Using multiple versions of the Android Gradle plugin(7.2.0-alpha02, 7.1.0-beta02) in the same build is not allowed.
Marcello Galhardo
10/29/2021, 10:56 PMxxfast
10/30/2021, 3:05 AMpackForXCode
to embedAndSignAppleFrameworkForXcode
according to this. However, i dont see this task included by default. I’m on kotlin 1.5.31
. Am I missing something? It says
newwhat if have an existing project that was generated before 1.5.20? 🤔 is there a way to bring this task to my existing project?in the generated project configuration.embedAndSignAppleFrameworkForXcode
jimmyt
10/30/2021, 3:13 AMBrian Donovan
10/30/2021, 12:12 PMPiotr Krzemiński
10/30/2021, 3:36 PMMustafa Ozhan
10/31/2021, 12:39 PM7.2.0-alpha03
I am unable to compiled my project, I have the scopemob(kmp library) project in the mentioned path and it works with 7.2.0-alpha02
without problem
Cannot find module with id: GradleProjectPath(buildRoot=/Users/mustafa.ozhan/Projects/Personal/CurrencyConverterCalculator/CCC, path=:scopemob, sourceSet=MAIN)
Do you have any idea how to solve this ?TheOnlyTails
10/31/2021, 6:11 PMcomplete-kotlin
plugin fixes this.Brian Donovan
11/01/2021, 6:43 PMBearDev
11/02/2021, 10:52 AMBrian Donovan
11/02/2021, 6:27 PMUmberto Pompei
11/02/2021, 7:00 PMSteffen Funke
11/03/2021, 8:07 AMClament John
11/03/2021, 8:52 AMkragle
library in multiplatform
example app - todo
I created a Minimal reproducible example using the multiplatform
todo app. When imported from the common module it fails, but when imported from the desktop module it works. I'm confused.
I've raised an question on krangl
repo - Issue#132Stefan Oltmann
11/03/2021, 9:55 AMForEach
on an KotlinArray
, but I get Generic struct 'ForEach' requires that 'KotlinArray<MyType>' conform to 'RandomAccessCollection'
.
Is there any compatiblity layer build in for that?Stefan Oltmann
11/03/2021, 11:06 AMcommonMain
and XCode complains that it's not exhaustive - but I covered every case. Is this a known bug in Kotlin/Native ?simon.vergauwen
11/03/2021, 11:54 AM