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

Nikolay Kasyanov

04/09/2020, 1:54 PM
👋 I’m trying to access
NSBundle.mainBundle.infoDictionary!!
values with using CoreFoundation constants like
kCFBundleVersionKey
but always getting
null
. If I use respective literal strings (like
"CFBundleVersion"
) it works like a charm. What am I missing here? The constants are
CFStringRef
, could it be the issue?
b

basher

04/09/2020, 2:10 PM
Feels like an interop bug. Worth reporting
n

Nikolay Kasyanov

04/23/2020, 1:49 PM
Finally managed to file the issue: https://youtrack.jetbrains.com/issue/KT-38528 /cc @akapanina
🔥 1
👍 1