@ -7,22 +7,16 @@ This file helps to add Compose inside SwiftUI hierarchy.
Example can run on Android, iOS, desktop or in a browser.
*Prerequisites*: to run on iOS and Android, you should have "Kotlin Multiplatform Mobile" plugin installed either
in Android Studio or in AppCode with [installed CocoaPods](https://kotlinlang.org/docs/native-cocoapods.html).
## Setting up your development environment
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
## How to run
Choose a run configuration for an appropriate target in IDE and run it.
Choose a run configuration for an appropriate target in Android Studio and run it.
![run-configurations.png](run-configurations.png)
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `iosApp` target.
Then choose **iosApp** configuration in IDE and run it.
Game can run on Android, iOS, desktop or in a browser.
*Prerequisites*: to run on iOS and Android, you should have "Kotlin Multiplatform Mobile" plugin installed either
in Android Studio or in AppCode with [installed CocoaPods](https://kotlinlang.org/docs/native-cocoapods.html).
## Setting up your development environment
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
## How to run
Choose a run configuration for an appropriate target in IDE and run it.
Choose a run configuration for an appropriate target in Android Studio and run it.
![run-configurations.png](run-configurations.png)
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `iosApp` target. See also how to prepare XCode section below.
Then choose **iosApp** configuration in IDE and run it.
## Run on desktop via Gradle
`./gradlew desktopApp:run`
@ -26,27 +20,6 @@ Then choose **iosApp** configuration in IDE and run it.
`./gradlew jsApp:jsBrowserDevelopmentRun`
## Prepare Xcode to launch on iOS device
1) **Add your Apple ID.**
Xcode -> Preferences... -> Accounts
![apple-id.png](apple-id.png)
2) **Create certificates with XCode in temporary project.**
You can create a certificate in Xcode. Create a new iOS app in Xcode.
File -> New -> Project
Choose iOS, App:
![ios-app.png](ios-app.png)
3) **In next dialog set any product name and choose your teamID.**
4) **Run project on iOS Device.**
Xcode prompts you to install the certificate. Require password from login.keychain
5) **Done**
After a successful launch on the device - you can delete this temporary project.
Certificates will remain in login.keychain
## Run native on MacOS
Choose **shared[macosX64]** or **shared[macosArm64]** configuration in IDE and run it.
An example of image gallery for remote server image viewing,
based on Compose Multiplatform UI library (desktop, android and iOS).
An example of an image gallery with camera and map support
based on Compose Multiplatform (desktop, Android and iOS).
## Setting up your development environment
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
## How to run
@ -9,12 +13,6 @@ Choose a run configuration for an appropriate target in IDE and run it.
@ -4,22 +4,16 @@ A simple game powered by Compose Multiplatform.
Game can run on Android, iOS, desktop or in a browser.
*Prerequisites*: to run on iOS and Android, you should have "Kotlin Multiplatform Mobile" plugin installed either
in Android Studio or in AppCode with [installed CocoaPods](https://kotlinlang.org/docs/native-cocoapods.html).
## Setting up your development environment
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
## How to run
Choose a run configuration for an appropriate target in IDE and run it.
Choose a run configuration for an appropriate target in Android Studio and run it.
![run-configurations.png](run-configurations.png)
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `iosApp` target.
Then choose **iosApp** configuration in IDE and run it.
@ -4,18 +4,15 @@ A simplified version of the [TodoApp example](https://github.com/JetBrains/compo
Supported targets: Android, Desktop and iOS.
## How to run
Choose a run configuration for an appropriate target in IDE and run it.
## Setting up your development environment
![run-configurations.png](run-configurations.png)
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `iosApp` target.
## How to run
Then choose **iosApp** configuration in IDE and run it.
Choose a run configuration for an appropriate target in Android Studio and run it.
Several visual effects implemented with Compose Multiplatform, used in 1.0 release announce video.
*Prerequisites*: to run on iOS and Android, you should have "Kotlin Multiplatform Mobile" plugin installed either
in Android Studio or in AppCode with [installed CocoaPods](https://kotlinlang.org/docs/native-cocoapods.html).
Supported targets: Android, Desktop and iOS.
## Setting up your development environment
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
## How to run
Choose a run configuration for an appropriate target in IDE and run it.
Choose a run configuration for an appropriate target in Android Studio and run it.
![run-configurations.png](run-configurations.png)
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `iosApp` target.
Then choose **iosApp** configuration in IDE and run it.
@ -8,17 +8,15 @@ published under [MIT license](third_party/ComposeCookBook_LICENSE.txt).
An example of Compose application for Desktop, Android and iOS platforms,
demonstrating how to use various Material widgets.
## How to run
## Setting up your development environment
Choose a run configuration for an appropriate target in IDE and run it.
To setup the environment, please consult these [instructions](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
![run-configurations.png](run-configurations.png)
## How to run
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `iosApp` target.
Choose a run configuration for an appropriate target in Android Studio and run it.
Then choose **iosApp** configuration in IDE and run it.