[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(
|
return mapOf(
|
||||||
"PATH" to path,
|
"PATH" to path,
|
||||||
"GEM_PATH" to gemPath,
|
"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 = {
|
processConfiguration = {
|
||||||
directory(workingDir.get())
|
directory(workingDir.get())
|
||||||
|
// CocoaPods requires to be run with Unicode external encoding
|
||||||
|
environment().putIfAbsent("LC_ALL", "en_US.UTF-8")
|
||||||
})
|
})
|
||||||
|
|
||||||
with(podsXcodeProjDirProvider.get()) {
|
with(podsXcodeProjDirProvider.get()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user