Skip to content

Commit

Permalink
Support KMP for ios
Browse files Browse the repository at this point in the history
  • Loading branch information
fornewid committed Jun 3, 2024
1 parent 7f83f9e commit b250a61
Show file tree
Hide file tree
Showing 15 changed files with 552 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 45

steps:
Expand Down Expand Up @@ -47,6 +47,9 @@ jobs:
:sample:desktop:assemble \
:sample:shared:assemble \
- name: Build iOS app
run: xcodebuild -project samples/iosApp/iosApp.xcodeproj -scheme iosApp -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest'

- name: Clean secrets
if: always()
run: release/signing-cleanup.sh
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ docs-gen
site
*.bak

.kotlin/sessions/
.kotlin/
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class KotlinMultiplatformConventionPlugin : Plugin<Project> {

jvm()

iosX64()
iosArm64()
iosSimulatorArm64()

configureKotlin()
}
}
Expand Down
3 changes: 3 additions & 0 deletions sample/iosApp/Configuration/Config.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TEAM_ID=
BUNDLE_ID=io.github.fornewid.placeholder.sample
APP_NAME=Placeholder
Loading

0 comments on commit b250a61

Please sign in to comment.