Hello everyone, I have such an error in the projec...
# multiplatform
a
Hello everyone, I have such an error in the project, but I can't figure out how to fix it. This library is in a separate module and attached to shared. The problem is that a separate module incorrectly selects the source for loading the library and I don't understand how to fix it. Error:
Copy code
Executing of '/usr/local/bin/pod install --repo-update' failed with code 1 and message: 

Updating local specs repositories
Analyzing dependencies
[!] Unable to find a specification for `SciChart (= 4.5.4.5923)`

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
Gradle:
Copy code
plugins {
    alias(libs.plugins.kotlinMultiplatform)
    alias(libs.plugins.kotlinCocoapods)
    alias(libs.plugins.androidLibrary)
    alias(libs.plugins.jetbrainsCompose)
    alias(libs.plugins.compose.compiler)
}

kotlin {
    androidTarget()
//    iosX64()
    iosArm64()
    iosSimulatorArm64()

    listOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64()
    ).forEach { iosTarget ->
        iosTarget.binaries.framework {
            baseName = "sci-chart"
            isStatic = true
        }
    }

    cocoapods {
        version = "1.0"
        ios.deploymentTarget = "16.0"
        noPodspec()
        pod("SciChart") {
            moduleName = "SciChart"
            version = "4.5.4.5923"

            extraOpts += listOf("-compiler-option", "-fmodules")
        }
    }

    sourceSets {
        androidMain.dependencies {
            implementation(libs.bundles.scichart)
            implementation(libs.android.sdp)
        }
        commonMain.dependencies {
            implementation(compose.ui)
            implementation(compose.foundation)
            implementation(projects.utils)
        }
    }
}

android {
    namespace = "my.project"
    compileSdk = 34
    defaultConfig {
        minSdk = 23
    }
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_17
        targetCompatibility = JavaVersion.VERSION_17
    }
}
not kotlin but kotlin colored 2
🧵 1
f
Did you had the repo source in the pod file?
a
This problem is solved