Closed binayshaw7777 closed 6 months ago
Multiplatform Room library was published by Google. Please use https://issuetracker.google.com/ for its issues
Log for KDoctor -v
Last login: Tue May 7 19:52:36 on console user@macbook ~ % kdoctor -v Environment diagnose: [✓] Operation System ➤ Version OS: macOS 14.0 CPU: Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
[✓] Java ➤ Java (openjdk version "21.0.1" 2023-10-17) Location: /Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home/bin/java i JAVA_HOME is not set Consider adding the following to ~/.zprofile for setting JAVA_HOME export JAVA_HOME=/Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home
[✓] Android Studio ➤ Android Studio (AI-232.10300.40.2321.11668458) Location: /Users/user/Applications/Android Studio.app Bundled Java: openjdk 17.0.9 2023-10-17 Kotlin Plugin: 232-1.9.0-release-358-AS10300.40.2321.11668458 Kotlin Multiplatform Mobile Plugin: 0.8.2(232)-20 i Note that, by default, Android Studio uses bundled JDK for Gradle tasks execution. Gradle JDK can be configured in Android Studio Preferences under Build, Execution, Deployment -> Build Tools -> Gradle section
[✓] Xcode i Multiple Xcode installations found ➤ Xcode (15.3) Location: /Applications/Xcode.app ➤ Xcode (15.0) Location: /Users/user/Downloads/Xcode.app ➤ Current command line tools: /Applications/Xcode.app/Contents/Developer i Xcode JAVA_HOME: /Users/user/Library/Java/JavaVirtualMachines/openjdk-21.0.1/Contents/Home Xcode JAVA_HOME can be configured in Xcode -> Settings -> Locations -> Custom Paths
[✓] CocoaPods ➤ ruby (ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin23]) i System ruby is currently used Consider installing ruby via Homebrew, rvm or other package manager in case of issues with CocoaPods installation ➤ ruby gems (3.0.3.1) ➤ cocoapods (1.13.0)
Recommendations: ➤ IDE doesn't suggest running all tests in file if it contains more than one class More details: https://youtrack.jetbrains.com/issue/KTIJ-22078 Conclusion: ✓ Your operation system is ready for Kotlin Multiplatform Mobile Development! user@macbook ~ %
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug I'm building a CMP app using Room and newly introduced Navigation and VM libs for Multiplatform. I was able to run this app perfectly on both Android and Desktop (Windows + Mac), but I can't run it on iOS Simulator. Happens right after implementing Room and SQLite libs.
Affected platforms
Versions
Screenshots
Error on XCode
Added in gradle.properties
Additional context I've tested other app that used Room in CMP, their app worked fine.
Full log