curioustechizen
11/30/2023, 1:14 PM:foo:shared 
2. which in the build.gradle.kts translates to baseName = "foo-shared"
3. Ultimately this is exported as foo_shared.framework
I cannot figure out how the baseName in point 2 got converted to the framework name in point 3.Andrew Reed
12/08/2023, 9:55 AMAndrew Reed
12/08/2023, 9:56 AMcurioustechizen
12/08/2023, 9:57 AMAndrew Reed
12/08/2023, 10:00 AMcurioustechizen
12/08/2023, 10:03 AMlistOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64(),
      ).forEach { target ->
        target.binaries.framework {
          baseName = path.substring(1).replace(':', '-')
        }
      }
This snippet in my build.gradle was responsible for turning :foo:shared into baseName = "foo-shared"Andrew Reed
12/08/2023, 10:04 AMAndrew Reed
12/08/2023, 10:04 AMlistOf(
        iosX64(),
        iosArm64(),
        iosSimulatorArm64(),
      ).forEach { target ->
        target.binaries.framework {
          baseName = "foo"
        }
      }Andrew Reed
12/08/2023, 10:04 AMAndrew Reed
12/08/2023, 10:05 AM