Hello~ Everybody~ I am struggling with KMM. At a f...
# multiplatform
d
Hello~ Everybody~ I am struggling with KMM. At a first entrance, I am stuck in abnormal behavior of Xcode SwiftUI Preview. It always says “Automatic preview updating paused” This happens when pod ‘GoogleWebRTC’ added to build.gradle.kts of shared module - KMM plugin - app template.
```...
iosSimulatorArm64()
cocoapods {
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
ios.deploymentTarget = "14.1"
podfile = project.file("../iosApp/Podfile")
framework {
baseName = "shared"
}
pod("GoogleWebRTC", moduleName = "WebRTC")
}
sourceSets {```
Anybody knows why this happens?
m
I seem to remember that the issue with the previews has something to do with exporting static framework. https://github.com/JetBrains/kotlin-native/issues/3059#issuecomment-577041551