diff --git a/examples/chat/README.md b/examples/chat/README.md index 18635dc2fb..326f517b11 100644 --- a/examples/chat/README.md +++ b/examples/chat/README.md @@ -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. - ## Run on desktop via Gradle `./gradlew desktopApp:run` diff --git a/examples/chat/run-configurations.png b/examples/chat/run-configurations.png index 3a904f61c3..e068521daf 100644 Binary files a/examples/chat/run-configurations.png and b/examples/chat/run-configurations.png differ diff --git a/examples/falling-balls/README.md b/examples/falling-balls/README.md index a7d18ef15f..baaf18d333 100644 --- a/examples/falling-balls/README.md +++ b/examples/falling-balls/README.md @@ -2,22 +2,16 @@ 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. diff --git a/examples/falling-balls/run-configurations.png b/examples/falling-balls/run-configurations.png index 3a904f61c3..e068521daf 100644 Binary files a/examples/falling-balls/run-configurations.png and b/examples/falling-balls/run-configurations.png differ diff --git a/examples/imageviewer/README.md b/examples/imageviewer/README.md index 72e6408ee5..ed9fd665e9 100755 --- a/examples/imageviewer/README.md +++ b/examples/imageviewer/README.md @@ -1,7 +1,11 @@ # Imageviewer -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. ![run-configurations.png](screenshots/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. - ## Run on desktop via Gradle `./gradlew desktopApp:run` diff --git a/examples/imageviewer/screenshots/run-configurations.png b/examples/imageviewer/screenshots/run-configurations.png index 0840602f9b..d859ff0870 100644 Binary files a/examples/imageviewer/screenshots/run-configurations.png and b/examples/imageviewer/screenshots/run-configurations.png differ diff --git a/examples/minesweeper/README.md b/examples/minesweeper/README.md index 34e2258188..51166096b4 100644 --- a/examples/minesweeper/README.md +++ b/examples/minesweeper/README.md @@ -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. - ## Run on desktop via Gradle `./gradlew desktopApp:run` diff --git a/examples/minesweeper/run-configurations.png b/examples/minesweeper/run-configurations.png index 3a904f61c3..e068521daf 100644 Binary files a/examples/minesweeper/run-configurations.png and b/examples/minesweeper/run-configurations.png differ diff --git a/examples/todoapp-lite/README.md b/examples/todoapp-lite/README.md index b072b23540..e48f62f5b3 100755 --- a/examples/todoapp-lite/README.md +++ b/examples/todoapp-lite/README.md @@ -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. +![run-configurations.png](run-configurations.png) ## Run on desktop via Gradle diff --git a/examples/todoapp-lite/run-configurations.png b/examples/todoapp-lite/run-configurations.png index 0840602f9b..d859ff0870 100644 Binary files a/examples/todoapp-lite/run-configurations.png and b/examples/todoapp-lite/run-configurations.png differ diff --git a/examples/visual-effects/README.md b/examples/visual-effects/README.md index ba75334da2..3074e926f5 100644 --- a/examples/visual-effects/README.md +++ b/examples/visual-effects/README.md @@ -2,22 +2,18 @@ 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. - ## Run on desktop via Gradle `./gradlew desktopApp:run` diff --git a/examples/visual-effects/run-configurations.png b/examples/visual-effects/run-configurations.png index 0840602f9b..d859ff0870 100644 Binary files a/examples/visual-effects/run-configurations.png and b/examples/visual-effects/run-configurations.png differ diff --git a/examples/widgets-gallery/README.md b/examples/widgets-gallery/README.md index 0121f321d1..82c654e14c 100644 --- a/examples/widgets-gallery/README.md +++ b/examples/widgets-gallery/README.md @@ -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. +![run-configurations.png](run-configurations.png) ## Run on desktop via Gradle diff --git a/examples/widgets-gallery/run-configurations.png b/examples/widgets-gallery/run-configurations.png index 0840602f9b..d859ff0870 100644 Binary files a/examples/widgets-gallery/run-configurations.png and b/examples/widgets-gallery/run-configurations.png differ