UIKit-based iOS app for Kotlin Multiplatform
- Created with Xcode 15.0.1
- UIKit based with
SceneDelegate
andMain
storyboard, plus unit tests and UI tests - Updated settings to work with KMP gradle project
- Replace the
iosApp
folder of the KMP project by this repo!
- Create new Xcode iOS application with name
iosApp
- Select the iosApp target -> Build Phases -> Create New Run Script Phase, move it just below Compile Source phase, set Shell and content as:
/bin/sh
cd "$SRCROOT/.."
./gradlew :shared:embedAndSignAppleFrameworkForXcode
New | Script |
---|---|
![]() |
![]() |
- Update Other Linker Flags of the iosApp target to:
-framework shared

- Update FRAMEWORK_SEARCH_PATHS to
$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)
