AlecKazakova / kotlin-native-cocoapods

A Gradle plugin for configuring Kotlin/Native with Cocoapods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Podspec script fails if user does not have realpath

einarvalgeirsson opened this issue · comments

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?

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