title: KMM: How to reference the shared module into an already existing iOS project
body: <p>I have followed the <a href="https://kotlinlang.org/docs/mobile/hands-on-networking-data-storage.html" rel="noreferrer">KMM hands-on tutorial</a> on how to build a sample app with KMM and I was able to complete all the steps successfully! (Yu-huu!) Now I am trying to do a small POC in the production application. So I created a new KMM shared module and added it to the Android project. For the Android part it works fine, but I can't figure out how to include the shared module into the iOS app.</p>
  <p><a href="https://kotlinlang.org/docs/mobile/integrate-in-existing-app.html#make-your-application-work-on-ios" rel="noreferrer">According to this link</a>, the iOS project directory should be referenced in the <code>gradle.properties</code> file:</p>
  <pre><code>xcodeproj=~/iOSProjects/TestKMM
  </code></pre>
  <p>but when I try to import the shared module, then xcode complains that there's no such module:</p>
  <p><a href="https://i.stack.imgur.com/YcMDv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YcMDv.png" alt="enter image description here" /></a></p>
  <p>So I suppose that simply referencing the iOS project in the <code>gradle.properties</code> is not enough. There must be something else that I am missing.</p>
  <hr />
  <p>Also, I checked the <code>build</code> directory of the shared module, and as far I can tell, there's no iOS artifact generated. (This is different from the hands-on tutorial project, where a <code>bin/iosX64/debugFragmework/shared.framework/ ....</code> exists.)</p>
  <p><a href="https://i.stack.imgur.com/sFMzr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sFMzr.png" alt="enter image description here" /></a></p>