lol running KDoctor and get this shit: [:heavy_mul...
# multiplatform
j
lol running KDoctor and get this shit: [✖️] Cocoapods ✖️ CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.zprofile export LANG=en_US.UTF-8
p
Did that fix it? I don't think so since you are not using cocoapods. I would say, reinstall AS, remove the plugin directory where the kmm plugin gets installed. Maybe the plugin got corrupted. Ensure is the same version of the plugin that you see in IJ plug-in directory.
Ensure AS has permission to access the directory where firebase framework is located
j
It well fixed warming but not my real issue 😁 Forgot reload source in bash. I am using cocoapods and spm now.
Where is all pods installed exactly?
Also wondering if I need podfile or enough podspecs only?
p
It depends on what you use SPM or CocoaPods or manually. If manually wherever is the directory you are dragging the framework. If using SPM or Pods, I don’t know of the top of my head, got to research but is somewhere in Xcode installation directory I believe
I believe
podspecs only
is enough but again I forgot the cocoapods integration details
j
Cocoapods internally with cinterop with Google sign in in iosMain
Would guess KMP plugin in Android Studio set wrong relative path to cocoapods or something. As Fleet and Xcode working.
p
Something of that nature. I theory is a plugin job not necessarily attached to the IDE. Now thinking, you have Android Studio using the Java runtime that comes bundled with the IDE or you are using your own JRE installation.
j
Yeah that could be another thing, as it complains a lot about my JDK 17 setup 😄
Which JDK should I use?
Should as in best for KMP 😄
p
17 has worked well for me. But I am just trying to find what could be different between those 2 IDEs, AS vs FL/Xcode
j
Yeah I try follow the .gradle w thing task running in build steps, its like 200 arguments sent to iOS simulator 😄
😁 1
Will try use Gradle toolchain to specify JDK instead of rely on IDE 😄
p
Try and see, I set it up using the IDE. I set my JAVA_HOME