https://kotlinlang.org logo
#ios
Title
# ios
r

ribesg

06/14/2022, 8:13 AM
How do you get rid of these errors? Happens every time I update XCode in a project with a Kotlin cocoapods dependency.
Copy code
"$REPO_ROOT/../../../../private/var/folders/6l/fxc2038542q1pfrjs6br35pw0000gn/T/wrap1902loc/gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework                     -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME                     -Pkotlin.native.cocoapods.archs="$ARCHS"                     -Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
/Users/ribesg/Library/Developer/Xcode/DerivedData/events-fovucgtiducodmfkizhdqhwxwlxd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/events.build/Script-6142A0FCC479B03E270A05C98643CC12.sh: line 8: /Users/ribesg/XcodeProjects/events/xcode/Pods/../../../../../../private/var/folders/6l/fxc2038542q1pfrjs6br35pw0000gn/T/wrap1902loc/gradlew: No such file or directory
Every time I have to manually remove the Pods folder in my XCode project and run
pod install
or
pod update
and I don’t understand why I have to do that. Something doesn’t get updated with just a
pod update
that forces me to manually remove it
Removing the Pods folder doesn’t even work for all targets for some reason…
I’m not sure yet but running
./gradlew podGenIOS podInstall podImport
may consistently work around this issue
3 Views