fix minor typo (#4629)

* fix minor typo
* fix sample code format
This commit is contained in:
Ying Li
2021-01-19 17:50:07 +09:00
committed by Nikolay Krasko
parent e8804dc53d
commit 26248bb9b1
3 changed files with 12 additions and 4 deletions
+10 -2
View File
@@ -330,7 +330,7 @@ You can add dependencies on a Pod library from `zip`, `tar`, or `jar` archive wi
1. Specify the name of a Pod library in the `pod()` function.
In the configuration block specify the path to the archive: use the `url()` function with an arbitrary HTTP address in the `source` parameter value.
Additionally, you can specify the boolean `flatten` parameter as a second argument for the `url()` function
Additionally, you can specify the boolean `flatten` parameter as a second argument for the `url()` function.
This parameter indicates that all the Pod files are located in the root directory of the archive.
2. Specify the minimum deployment target version for the Pod library.
@@ -430,7 +430,15 @@ You can add dependencies on a Pod library from a custom Podspec repository with
4. Re-import the project.
> To work correctly with Xcode, you should specify the location of specs at the beginning of your Podfile.
> For example, `source 'https://github.com/Kotlin/kotlin-cocoapods-spec.git'`
> For example:
>
> <div class="sample" markdown="1" theme="idea" data-highlight-only>
>
> ```ruby
> source 'https://github.com/Kotlin/kotlin-cocoapods-spec.git'
> ```
>
> </div>
>
> You should also specify the path to the Podspec in your Podfile.
> For example:
+1 -1
View File
@@ -170,7 +170,7 @@ kotlin.sourceSets {
// Configure all native platform sources sets to use it as a common one.
linuxX64Main.dependsOn(nativeMain)
macosX64Main.dependsOn(nativeMain)
//...
// ...
}
```
+1 -1
View File
@@ -225,7 +225,7 @@ directory structure, with the following layout:
- foo/
- $component_name/
- ir/
- Seriaized Kotlin IR.
- Serialized Kotlin IR.
- targets/
- $platform/
- kotlin/