Skip to content

Commit

Permalink
fix: unable to find framework in modules with dash in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrSouza committed Oct 11, 2023
1 parent dad7513 commit 5558fd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private const val LINK_MODULE_SWIFT_REVEAL_TASK_NAME = "linkIosForModuleSwiftRev
private const val MODULE_SWIFT_REVEAL_TASK_NAME = "swiftRevealForModule"

internal fun Project.defaultFrameworkBaseNameForModule(): String {
return name
return name.replace('-', '_')
}

internal fun Project.registerKotlinLinkTaskForSwiftRevealForModule(): TaskProvider<KotlinNativeLinkArtifactTask> {
Expand Down

0 comments on commit 5558fd7

Please sign in to comment.