mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Run native on MacOS
./gradlew runDebugExecutableMacosX64 (Works on Intel processors)
Run web assembly in browser
./gradlew jsBrowserDevelopmentRun
Run on iOS simulator
./gradlew iosDeployIPhone8Debug
./gradlew iosDeployIPadDebug
Prepare Xcode to launch on iOS device
-
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:

-
In next dialog set any product name and choose your teamID.
-
Run project on iOS Device.
Xcode prompts you to install the certificate. Require password from login.keychain -
Done After a successful launch on the device - you can delete this temporary project.
Certificates will remain in login.keychain
Run on iOS device
- Set teamId in build.gradle.kts, or set in local.properties (compose.ios.teamId=***)
./gradlew iosDeployDeviceRelease- During the build, you will be prompted to access login.keychain
