diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd90b30..104b669 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,13 @@ jobs: check-latest: true - name: Assemble iOS - run: ./gradlew clean :app:ios:iosSimulatorArm64MainKlibrary --no-daemon --stacktrace + uses: mxcl/xcodebuild@v1 + with: + platform: iOS + action: build + scheme: ozone + configuration: debug + working-directory: app/iosApp/ assemble-js: runs-on: ubuntu-latest diff --git a/app/iosApp/ozone/ContentView.swift b/app/iosApp/ozone/ContentView.swift index 7b395a5..5f0957a 100644 --- a/app/iosApp/ozone/ContentView.swift +++ b/app/iosApp/ozone/ContentView.swift @@ -1,5 +1,5 @@ import SwiftUI -import ios +import OzoneIos struct ContentView: View { var body: some View { @@ -9,7 +9,7 @@ struct ContentView: View { struct ComposeViewControllerToSwiftUI: UIViewControllerRepresentable { func makeUIViewController(context: Context) -> UIViewController { - return ios.MainViewControllerKt.MainViewController() + return OzoneIos.MainViewControllerKt.MainViewController() } func updateUIViewController(_ uiViewController: UIViewController, context: Context) { diff --git a/app/iosApp/ozone/Preview Content/.keep b/app/iosApp/ozone/Preview Content/.keep new file mode 100644 index 0000000..e69de29 diff --git a/app/iosApp/ozone/ozoneApp.swift b/app/iosApp/ozone/ozoneApp.swift index 36caf04..913954a 100644 --- a/app/iosApp/ozone/ozoneApp.swift +++ b/app/iosApp/ozone/ozoneApp.swift @@ -1,10 +1,10 @@ import SwiftUI -import ios +import OzoneIos @main struct ozoneApp: App { init() { - ios.MainViewControllerKt.initialize() + OzoneIos.MainViewControllerKt.initialize() } var body: some Scene {