https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

coolcat

09/23/2020, 11:45 AM
I have added the Cocoapods plugin to my KMP project as described here https://kotlinlang.org/docs/reference/native/cocoapods.html. But the resulting .podspec file contains a line that looks like this:
Copy code
"$REPO_ROOT/../../../../../../private/var/folders/ps/l3tx8c517t19l8p14jq3zvsh0000gp/T/wrap12070loc/gradlew" -p "$REPO_ROOT" ::syncFramework \
Most other generated podspecs I have seen in sample projects look like
Copy code
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" :core:syncFramework \
I am concerned it refers to a temporary folder on my machine which may disappear in future. Does anybody know what the problem may be?
Huh, seems it’s fine if running
./gradlew podspec
from command line, but failing when generated from within IntelliJ
2 Views