[Gradle] Excplictly pass locale to CocoaPods invocations
^KT-59522 Verification Pending
This commit is contained in:
committed by
Space Team
parent
f14a713e49
commit
67c19b00e0
-2
@@ -154,8 +154,6 @@ fun cocoaPodsEnvironmentVariables(): Map<String, String> {
|
||||
return mapOf(
|
||||
"PATH" to path,
|
||||
"GEM_PATH" to gemPath,
|
||||
// CocoaPods 1.11 requires UTF-8 locale being set, more details: https://github.com/CocoaPods/CocoaPods/issues/10939
|
||||
"LC_ALL" to "en_US.UTF-8"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -51,6 +51,8 @@ abstract class AbstractPodInstallTask : CocoapodsTask() {
|
||||
},
|
||||
processConfiguration = {
|
||||
directory(workingDir.get())
|
||||
// CocoaPods requires to be run with Unicode external encoding
|
||||
environment().putIfAbsent("LC_ALL", "en_US.UTF-8")
|
||||
})
|
||||
|
||||
with(podsXcodeProjDirProvider.get()) {
|
||||
|
||||
Reference in New Issue
Block a user