0Pricing
Kotlin Multiplatform Academy · Lesson

Debug 'Shared Code Not Found' Issues

Resolve the most common first-run linking problems.

The Classic First-Run Wall

Almost everyone hits it once: iOS builds but Swift cannot find your shared API. Let's debug shared code not found calmly. 🛠️

Confirm the Framework Built

First, run the Gradle framework task directly. If it fails outside Xcode, the framework never existed and Swift had nothing to link.

./gradlew :shared:embedAndSignAppleFrameworkForXcode

All lessons in this course

  1. Run the Android App from Studio
  2. Open & Run the iOS App in Xcode
  3. How the iOS Framework Is Built
  4. Debug 'Shared Code Not Found' Issues
← Back to Kotlin Multiplatform Academy