https://kotlinlang.org logo
#ios
Title
# ios
a

Alex Murphy

03/11/2024, 7:07 PM
Hi folks, there seems to be an issue with KMM symbolication and PLCrashReporter that is preventing iOS from crashing properly. Has anyone who uses Datadog or PLCrashReporter seen this issue? • https://github.com/DataDog/dd-sdk-ios/issues/1714https://github.com/microsoft/plcrashreporter/issues/293
p

Patrick Cavanagh

03/11/2024, 8:01 PM
Hadn't noticed that issue previously but just tried and have been able to replicate now. I'm using SPM rather than cocoapods but looks like a similar setup other than that.
Not exactly much movement from either Datadog or PLCrashReporter from the looks of it.
a

Alex Murphy

03/11/2024, 8:04 PM
Yea, we were trying to figure out when it was introduced because KMM was compatible with PLCR & DD when we integrated. It looks like something with KMM symbolication is causing an endless loop in PLCR.
We use SPM as well, and from my testing the issue is present regardless of dependency manager
p

Patrick Cavanagh

03/11/2024, 8:06 PM
Given there hasn't been a release of PLCR since June 2023, probably something that was introduced with Kotlin 1.9.2X maybe?
Tried reaching out on that side to see if it's something that can be resolved there? Jetbrains might have slightly more incentive to fix than Datadog or PLCR
a

Alex Murphy

03/11/2024, 8:07 PM
is there a good channel in this org to do that? or is there a better way? I just joined here a few weeks ago so not sure
p

Patrick Cavanagh

03/11/2024, 8:09 PM
@Alex Murphy did you raise that issue on YouTrack?
Just seen that they've closed the PLCR issue...
a

Alex Murphy

03/14/2024, 5:45 PM
I haven't had a chance to yet
wow, they just closed the PLCR issue? yea, I can open a ticket here shortly
p

Patrick Cavanagh

03/14/2024, 5:48 PM
Mikhail Suendukov obviously isn't a fan of KMP
🤣 1
a

Alex Murphy

03/14/2024, 5:50 PM
do they have a separate issue tracker project for KMM? I'm only seeing KMM appcode which seems like the wrong category for this
There must be a KMM specific tag, right?
p

Patrick Cavanagh

03/14/2024, 5:53 PM
I think just under the Kotlin project with a subsystem of Multiplatform looking at some other issues like https://youtrack.jetbrains.com/issue/KT-65315/KMP-Composite-compileIosMainKotlinMetadata-fails-with-Could-not-find-included-iOS-dependency
a

Alex Murphy

03/14/2024, 5:54 PM
ok, I will take a look
p

Patrick Cavanagh

04/03/2024, 11:57 AM
@Alex Murphy I've just seen your comment on the Jetbrains issue that you're only seeing this issue with
KOTLIN_FRAMEWORK_BUILD_TYPE
set to debug. I'm seeing the issue on release builds too unfortunately. Is your setup similar to this with the value defined as a user defined key in Xcode and specified per-configuration? You're not passing it directly as an argument into the
embedAndSignAppleFrameworkForXcode
gradle task or anything?
a

Alex Murphy

04/03/2024, 6:54 PM
@Patrick Cavanagh it might be case sensitive, we have
debug
and
release
for the values of
KOTLIN_FRAMEWORK_BUILD_TYPE
.
4 Views