-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for iOS build targets in KMM #1150
Comments
|
Oh, I mixed up the sample codes. Essentially - I tried that, it didn't compile either. So I got back to
for // commonMain
package com.blahblah.common.emoji
expect object EmojiManager {
fun parse(input: String?): EmojiInformation
}
// iosMain
package com.blahblah.common.emoji
import com.vanniktech.emoji.emojiInformation // error - unresolved symbol
actual object EmojiManager {
....
} |
This should work though. |
Could you maybe add an iOS target in the sample app in this repo? This way you could verify it's working, and also have a reference for others |
I currently don't have the time but yes, ideally this should be done. |
Does the library support
iosArm64()
andiosSimulatorArm64()
targets? I can see them defined in the gradle files, but when I'm trying to compile a KMM project I get the following error:I think I have misconfigured the dependency for iOS, but not sure where.
Portion of the
libs.versions.toml
file:Portion of the
build.gradle.kts
fileAnd the code that tries to import and use it in
commonMain
. (FYI when the implementation is "actual"-ised inandroidMain
all compiles and works ok):The text was updated successfully, but these errors were encountered: