https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Joel Denke

11/29/2023, 8:42 AM
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

Pablichjenkov

11/29/2023, 10:38 AM
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

Joel Denke

11/29/2023, 12:03 PM
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

Pablichjenkov

11/29/2023, 12:42 PM
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

Joel Denke

11/29/2023, 2:18 PM
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

Pablichjenkov

11/29/2023, 2:26 PM
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

Joel Denke

11/29/2023, 2:59 PM
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

Pablichjenkov

11/29/2023, 3:06 PM
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

Joel Denke

11/29/2023, 4:37 PM
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

Pablichjenkov

11/29/2023, 4:40 PM
Try and see, I set it up using the IDE. I set my JAVA_HOME
3 Views