CocoaPods: Don't use realpath utility in script phase
The realpath utility may not be found on the user's machine so we get rid of using it.
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ open class PodspecTask : DefaultTask() {
|
||||
| :shell_path => '/bin/sh',
|
||||
| :script => <<-SCRIPT
|
||||
| set -ev
|
||||
| REPO_ROOT=`realpath "${'$'}PODS_TARGET_SRCROOT"`
|
||||
| REPO_ROOT="${'$'}PODS_TARGET_SRCROOT"
|
||||
| ${'$'}REPO_ROOT/gradlew -p "${'$'}REPO_ROOT" syncFramework \
|
||||
| -P${KotlinCocoapodsPlugin.TARGET_PROPERTY}=${'$'}KOTLIN_TARGET \
|
||||
| -P${KotlinCocoapodsPlugin.CONFIGURATION_PROPERTY}=${'$'}CONFIGURATION \
|
||||
|
||||
Reference in New Issue
Block a user