You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The Skip plugin for Xcode transpiles Swift SPM packages into Kotlin Gradle proje
4
4
5
5
1. Create a new Swift package from Xcode.app 14.3+ with `File -> New -> Package`.
6
6
<details><summary>Creating a new Multiplatform Swift Package</summary><imgwidth="1512"alt="skip-onboard-01"src="https://user-images.githubusercontent.com/659086/230632488-8bf87042-59ba-48aa-9108-71efdea5d9bb.png"></details>
7
-
This example name the new package “MyLibrary” and save it to the Desktop, but the package can be named anything.
7
+
This example names the package “MyLibrary” and saves it to the Desktop.
8
8
9
9
1. Select the new `Package.swift` file in Xcode and add the following lines to activate the Skip transpiler plugin:
10
10
```swift
@@ -31,7 +31,7 @@ The Skip plugin for Xcode transpiles Swift SPM packages into Kotlin Gradle proje
31
31
You can run the test cases by selecting `MyLibrary-Package` running on `My Mac`.
32
32
Successful transpilation and test case runs will show up in the log.
33
33
<details><summary>Running the transpiled Kotlin test cases</summary><img width="1412" alt="skip-init-screenshot-2" src="https://user-images.githubusercontent.com/659086/229834667-f2939738-d21a-4814-94a1-63e316ca2dc5.png"></details>
34
-
Note: the Kotlin test case must be run against the macOS (rather than iOS), and Gradle must be installed on the machine with the homebrew (https://brew.sh) command: `brew install gradle`
34
+
Note: the Kotlin test case must be run against the macOS platform(rather than iOS) and Gradle must be installed on the machine with the homebrew (https://brew.sh) command: `brew install gradle`
35
35
36
36
1. Test failures will be reported for both the failed Swift test cases, as well as the transpiled Kotlin JUnit tests.
37
37
For example, if we change the assertion from "*Hello* World" to "*Goodbye* World", the two failed Swift XCTest and Kotlin JUnit tests can each be seen.
0 commit comments