Closed xoif closed 2 years ago
After realizing that /aboutlibraries-core/build.gradle indeed contains iOS targets, I was able to narrow down the issue to the iosSimulatorArm64() target. After removing this from the build.gradle.kts of my kmm module, the project builds as I'd expect. Ofc. this comes with the drawback, that the iOS project can't be build/tested on the (native) M1 simulator anymore.
@xoif added the additional simulator targets, if you could please check out if it works now?
@mikepenz it’s working now. Thanks for the fast response!
Hello, I'm using your library within a kotlin multiplatform mobile project. My Android module is planed to use the separate Jetpack compose functionality directly. For iOS however I planed to access my shared kotlin multiplatform module from my Swift code, to receive a list of the libraries/licences that are used in the common/shared kotlin native business layer. Once retrieved, I would simply pass this list of libraries/licences to my ios specific license library to generate a complete list of all the used libraries (KMM, Cocoapods, Swift Package Manager). Unfortunately building the kmm shared layer fails with the following message:
`Execution failed for task ':sharedDomainLayer:cinteropJWTDecodeIosSimulatorArm64'.
As your documentation only mentions Android and app-desktop, I guess that as of now, kotlin native simply isn't supported. Another issue could be that I'm using Apple Silicon (M1) which is always a good guess for incompatibility issues.
used Version: val kotlinVersion = "1.7.0" val aboutLibsVersion = "10.3.0"