mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
update uikit sample to compose version 1.2.0 alpha01 dev724 (#2137)
This commit is contained in:
@@ -29,8 +29,6 @@ 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 local.properties
|
||||
- In build.gradle.kts
|
||||
add block `connectedDevice("Device") { }` to compose.experimental.uikit.application.deployConfigurations
|
||||
- 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
|
||||
|
||||
@@ -163,6 +163,11 @@ compose.experimental {
|
||||
//Usage: ./gradlew iosDeployIPadDebug
|
||||
device = IOSDevices.IPAD_MINI_6th_Gen
|
||||
}
|
||||
connectedDevice("Device") {
|
||||
//First need specify your teamId here, or in local.properties (compose.ios.teamId=***)
|
||||
//teamId="***"
|
||||
//Usage: ./gradlew iosDeployDeviceRelease
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
org.gradle.jvmargs=-Xmx3g
|
||||
compose.version=1.2.0-alpha01-dev716
|
||||
compose.version=1.2.0-alpha01-dev724
|
||||
kotlin.version=1.6.21
|
||||
kotlin.code.style=official
|
||||
kotlin.native.cacheKind=none
|
||||
@@ -8,3 +8,4 @@ kotlin.native.enableDependencyPropagation=false
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
compose.desktop.verbose=true
|
||||
|
||||
@@ -9,5 +9,9 @@ A simple game powered by Compose Multiplatform
|
||||
`./gradlew iosDeployIPhone8Debug`
|
||||
`./gradlew iosDeployIPadDebug`
|
||||
|
||||
## Run on iOS device
|
||||
- Read about iOS target in [falling-balls-mpp/README.md](../falling-balls-mpp/README.md)
|
||||
- `./gradlew iosDeployDeviceRelease`
|
||||
|
||||
## Credits
|
||||
<div>Icons made by <a href="https://www.flaticon.com/authors/creaticca-creative-agency" title="Creaticca Creative Agency">Creaticca Creative Agency</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
|
||||
@@ -16,7 +16,7 @@ buildscript {
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "1.6.21"
|
||||
id("org.jetbrains.compose") version "1.2.0-alpha01-dev716"
|
||||
id("org.jetbrains.compose") version "1.2.0-alpha01-dev724"
|
||||
}
|
||||
|
||||
version = "1.0-SNAPSHOT"
|
||||
@@ -164,9 +164,11 @@ compose.experimental {
|
||||
//Usage: ./gradlew iosDeployIPadDebug
|
||||
device = IOSDevices.IPAD_MINI_6th_Gen
|
||||
}
|
||||
// connectedDevice("Device") { //todo lazy init (compose.ios.teamId=*** in local.properties)
|
||||
connectedDevice("Device") {
|
||||
//First need specify your teamId here, or in local.properties (compose.ios.teamId=***)
|
||||
//teamId="***"
|
||||
//Usage: ./gradlew iosDeployDeviceRelease
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,3 +5,4 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
kotlin.native.enableDependencyPropagation=false
|
||||
# Enable kotlin/native experimental memory model
|
||||
kotlin.native.binary.memoryModel=experimental
|
||||
compose.desktop.verbose=true
|
||||
|
||||
Reference in New Issue
Block a user