Hi all in a KMP project after updating the kotlin ...
# multiplatform
h
Hi all in a KMP project after updating the kotlin version to 2.0.21 the app crashes in release mode with this error(I found it in firebase crashlytics) (anonymous namespace)::waitInNativeState(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, unsigned long long, unsigned long long*) + 10980 The app works with no issue in debug mode. Have you ever faced this problem? How can I fix it?
For everyone who faces this issue in the future 🙂 The problem was not because of the Kotlin or any dependency in the shared layer, it was because of this line in the Podfile
xcode_minimum_deployment_target = Gem::Version.new('12.0')
. Before updating XCode the iOS project worked with no issue but by updating the XCode to version 16.0 this line in the Podfile caused issue in release mode. So to fix it I just changed the version to 15.1 which is equal to the project’s iOS deployment target(
xcode_minimum_deployment_target = Gem::Version.new('15.1)
)
i
Hi! I'm having this issue as well, but I do not publish the shared code with pods, but with assembleXCFramework, In the final app, I don't have that line in my podfile, also this error is from crashlytics, it runs perfectly in my xcode release mode. Do you think I should add that line to my project?, also I don't get exatly, did you downgrade your xcode to 15.1 and then set xcode_minimum_deployment_target = Gem::Version.new('15.1)? My ios deployment target is ios 18.1, should i put
xcode_minimum_deployment_target = Gem::Version.new('18.1)??
Also the app target is ios deployment 12 :S
Thanks!!