Milen Dimitrov
07/20/2021, 8:52 AMPitel
07/20/2021, 11:06 AM@AfterTest
is ran before @Test
returning JS promise finishes in Node.js test?jdiaz
07/21/2021, 11:24 AMgradlew build
just fineJason5lee
07/21/2021, 1:46 PMmike.holler
07/21/2021, 5:21 PMcoolcat
07/21/2021, 8:47 PMnative.cocoapods
plugin recently? I am trying to write a KMM library whose iOS code depends on a cocoapod, which I import using
cocoapods {
pod("AFNetworking")
}
However cinterop
gives me
fatal error: module 'AFNetworking' not found
as in this issue. But I don’t think it’s the same problem. Anyone had similar?Stefan Oltmann
07/22/2021, 7:21 AMCarmelo
07/23/2021, 1:43 PM1.5.30-M1
with iosSimulatorArm64
target is throwing me this error:
Task 'embedAndSignAppleFrameworkForXcode' not found in project ':shared'.
This is a new blank project so I was wondering what is wrong there. Any clue?deviant
07/23/2021, 3:55 PMAndy Victors
07/23/2021, 5:10 PMkevindmoore
07/24/2021, 6:47 PMSergei Popyvanov
07/25/2021, 4:00 AMversion "1.5.10"
). I have an exception in iOS target:
Function doesn’t have or inherit @Throws annotation and thus exception isn’t propagated from Kotlin to Objective-C/Swift as NSError.
It is considered unexpected and unhandled instead. Program will be terminated.
Uncaught Kotlin exception: kotlin.UninitializedPropertyAccessException: lateinit property innerFactory has not been initialized
______________
Am I right that I should add @Throws annotations to all my methods in kotlin shared class? If yes, what exception class should I pass inside @Throws annotation. Thank youspierce7
07/25/2021, 5:41 AMSlackbot
07/25/2021, 6:18 AMrkeazor
07/25/2021, 3:03 PMZhiqiang Bian
07/25/2021, 3:25 PMMatheus Finatti
07/26/2021, 8:42 AMcopyFramework
in its build phases, this target is then included in all projects.
I have tried adding it by changing copyFramework
to the new embedAndSignFrameworkForXCode
which didn’t work (project won’t compile because it can’t find the shared lib No such module 'shared'
.
Also tried removing this target entirely and recreating the steps in the blog post in every project, but it also didn’t work.marzelwidmer
07/26/2021, 8:00 PMkmm
project with JUnit5
? in special in the shared
folder… I create a kmm
from the wizard.Vadim
07/26/2021, 11:01 PMerror
variable on the Kotlin side to call this C function?
int analyze(char **error);
spierce7
07/27/2021, 2:51 AMdeviant
07/27/2021, 10:00 AMpodspec
, podInstall
etc?nikunjsakhrelia
07/27/2021, 10:51 AMcoolcat
07/27/2021, 2:31 PMdependencies {
implementation(project(":libB"))
}
When I do this my compileKotlinIos
task fails with Unresolved reference
for the classes in libB. Is there any special syntax for adding the common, android and ios flavours of the shared project?Michal Klimczak
07/27/2021, 3:13 PMtwenti̩
as example. This i̩
with a little dash at the bottom is treated by kotlin as two separate chars, but swift treats it as one. So when I defined formatting which spans across the whole word in shared code with text.length
, it calculates it as 7 chars. When I use it in Swift, which thinks of it as 6 chars (via *let* characters = Array(text)
), I get Fatal error: Index out of range
. Any ideas how to work with these?Brian G
07/27/2021, 4:03 PMiamthevoid
07/28/2021, 6:37 AMvalue
classes can not be used in shared code (because of @JvmInline
)?brandonmcansh
07/28/2021, 2:42 PMcoolcat
07/29/2021, 4:44 PMfatal error: module '<Cocoapod>' not found
But if I include the subproject directly (instead of via the umbrella framework) it works OK. Is it possible to do this using an umbrella framework?Javier
07/29/2021, 5:26 PMFrancis Mariano
07/29/2021, 6:46 PMembedAndSignAppleFrameworkForXcode
gradle task approach?? Are there pros and cons for each from them?Francis Mariano
07/29/2021, 6:46 PMembedAndSignAppleFrameworkForXcode
gradle task approach?? Are there pros and cons for each from them?Viacheslav Kormushkin
07/29/2021, 7:02 PMembedAndSignAppleFrameworkForXcode
task is a solutionLandry Norris
07/30/2021, 3:19 PMJohn O'Reilly
07/30/2021, 3:20 PMLandry Norris
07/30/2021, 3:21 PMJohn O'Reilly
07/30/2021, 3:25 PM