https://kotlinlang.org logo
#ios
Title
# ios
a

Andrew Reed

01/31/2023, 10:57 AM
Im trying to upgrade an existing project to kotlin 1.8.0 and im getting this issue:
Copy code
Could not create task ':firebase-app:linkPodDebugFrameworkIosArm64'.
> Could not create task of type 'KotlinNativeLink'.
   > Configuration with name 'iosArm64PodDebugFrameworkExport' not found.
Target setup is the following:
Copy code
ios {
            binaries {
                framework {
                    baseName = "FirebaseApp"
                }
            }
        }
        iosSimulatorArm64 {
            binaries {
                framework {
                    baseName = "FirebaseApp"
                }
            }
        }
Im using cocoapods to fetch the dependancy for ios:
Copy code
kotlin {
        cocoapods {
            ios.deploymentTarget = "11.0"
            framework {
                isStatic = true
            }
            noPodspec()
            pod("FirebaseCore")
        }
    }
j

Jon Bailey

02/01/2023, 10:32 AM
Do you use Moko kswift by any chance?
a

Andrew Reed

02/01/2023, 10:32 AM
not in this repo
its just the firebase sdk repo
ok i found out there was some hacky script in the root build gradle causing this issue
16 Views