AlecKazakova / kotlin-native-cocoapods

A Gradle plugin for configuring Kotlin/Native with Cocoapods
Apache License 2.0
128 stars 11 forks source link

Podspec script fails if user does not have realpath #9

Closed einarvalgeirsson closed 5 years ago

einarvalgeirsson commented 5 years ago

I had an issue building my iOS project as the generated podspec file contained a shell script that used realpath which my Mac could not resolve. https://github.com/AlecStrong/kotlin-native-cocoapods/blob/master/gradle-plugin/src/main/kotlin/com/alecstrong/cocoapods/gradle/plugin/GeneratePodspecTask.kt#L57

I fixed this by installing CoreUtils (brew install coreutils).

Perhaps this should be mentioned in the README?

AlecKazakova commented 5 years ago

we might just be able to remove realpath entirely. Thanks for the report!