When I set my Xcode debug format to DWARF with dSYM files, I get thousands of warnings of this type:...
n
When I set my Xcode debug format to DWARF with dSYM files, I get thousands of warnings of this type:
warning: (x86_64) could not find object file symbol for symbol _kfun:kotlinx.atomicfu#atomicArrayOfNulls(<http://kotlin.Int|kotlin.Int>){0§<kotlin.Any?>}kotlinx.atomicfu.AtomicArray<0:0?>
Does anyone faced this issue before when using kotlin multiplatform on IOS?
3
m
I am having it did you find solution so far ?
1
d
+1 - We are also finding that having this high number of warnings is killing performance of Xcode. We started noticing it after upgrading to Kotlin
1.4.30
, but not sure if this is significant.
m
@darkmoon_uk
Copy code
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
is what you looking for
d
Thanks @Mustafa Ozhan but these debugging symbols normally do serve a purpose in Debug builds - I wonder why this became a problem with Kotlin
1.4.30
for us, when it wasn't before?
m
Well apter searching couple of days for this solve this issue I had only 2 solution: • Debug information format
DWARF with dSYM File
to
DWARF
• Second one is the one I shared First option is messing up reporting crash logs to Crashlytics, so i continued with the one I shared to you. Please let me know also if you find something better 🙂
d
Sure @Mustafa Ozhan, thanks for the extra info. I will let you know if I learn anything new.
🔥 2
a
Hello 👋 I am also facing this issue after the Kotlin
1.4.30
upgrade. Have you all found any more solutions other than those mentioned above?