Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
fixed Info.plist rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
sbogolepov committed Sep 5, 2019
1 parent 412c9bb commit a47d3c6
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,18 +187,18 @@ internal class ObjCExport(val context: Context, symbolTable: SymbolTable) {
""".trimIndent())

fun addUiDeviceFamilies(vararg values: Int) {
val xmlValues = values.joinToString(separator = "\n ") {
"<integer>$it</integer>"
val xmlValues = values.joinToString(separator = "\n") {
" <integer>$it</integer>"
}
contents.append("""
| <key>MinimumOSVersion</key>
| <string>$minimumOsVersion</string>
| <key>UIDeviceFamily</key>
| <array>
| $xmlValues
|$xmlValues
| </array>
""".trimMargin()
)
""".trimMargin())
}

// UIDeviceFamily mapping:
Expand Down

0 comments on commit a47d3c6

Please sign in to comment.