Hi,
I created a KMM library by Android Studio ( iOS framework distribution:CocoaPods dependency manager) , and follow this page to depend a cocoapods library for ios part:https://kotlinlang.org/docs/multiplatform-mobile-ios-dependencies.html
I can see this library has built at shared/build/cocoapods/synthetic/IOS/Pods/mob_secverify
but I can not import it by using:
import cocoapods.mob_secverify.*
Where is the problem?Thanks a lot!
Copy code
cocoapods {
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
version = "1.0"
ios.deploymentTarget = "14.1"
framework {
baseName = "shared"
}
pod("mob_secverify")//this line is all my added
}