# TypeAlias with Kotlin Multiplatform

**URL:** <https://discuss.kotlinlang.org/t/typealias-with-kotlin-multiplatform/17487>\
**Category:** Multiplatform\
**Created:** [May 4, 2020, 12:58pm UTC](https://discuss.kotlinlang.org/t/typealias-with-kotlin-multiplatform/17487 "2020-05-04T12:58:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rshigenari.1](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rshigenari.1/32/7585_2.png) [@rshigenari.1](https://discuss.kotlinlang.org/u/rshigenari.1)\
**Post date:** [May 4, 2020, 12:58pm UTC](https://discuss.kotlinlang.org/t/typealias-with-kotlin-multiplatform/17487/1 "2020-05-04T12:58:36Z")

</div>

Hello,  
I’m working in a Kotlin Multiplatform project…  
Could I call Kotlin typeAlias in my swift function after import my SharedLibrary?

thanks

---

<div class="post-metadata">

**Author:** ![Artyom.Degtyarev](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@Artyom.Degtyarev](https://discuss.kotlinlang.org/u/Artyom.Degtyarev)\
**Post date:** [May 6, 2020, 8:30am UTC](https://discuss.kotlinlang.org/t/typealias-with-kotlin-multiplatform/17487/2 "2020-05-06T08:30:17Z")

</div>

Hello, @rshigenari.1! Can you clarify a bit, what exactly you were trying to `typealias` there?

---

<div class="post-metadata">

**Author:** ![rshigenari.1](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rshigenari.1/32/7585_2.png) [@rshigenari.1](https://discuss.kotlinlang.org/u/rshigenari.1)\
**Post date:** [May 6, 2020, 2:01pm UTC](https://discuss.kotlinlang.org/t/typealias-with-kotlin-multiplatform/17487/3 "2020-05-06T14:01:46Z")

</div>

I create a typealias in my Kotlin code, and I generate a SharedLibrary.framework to use in my swift code, can I call these same typealias in the Xcode? The Xcode does not recognize that I have this type in my SharedLibrary.
