touchlab-lab / KotlinCocoapods

Apache License 2.0
75 stars 6 forks source link

Ability To Update Framework Name #8

Closed markrebhan closed 4 years ago

markrebhan commented 4 years ago

It would be nice if the frameworkName attribute was exposed as a mutable field like the jetbrains version. It's kind of annoying that the framework is just called shared in XCode and having import shared is a bit ambiguous in the source code.

russhwolf commented 4 years ago

We adjusted it so that you can access the entire framework configuration from a framework block inside cocoapodsext. Does this do what you want?

cocoapodsext {
  framework {
    baseName = "MyFramework"
  }
}
markrebhan commented 4 years ago

Yes, that is what I was looking for. Much appreciated.