{"id":403789,"date":"2023-11-07T05:38:45","date_gmt":"2023-11-07T04:38:45","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=kotlin&#038;p=403789"},"modified":"2023-11-16T07:26:06","modified_gmt":"2023-11-16T06:26:06","slug":"kotlin-multiplatform-stable","status":"publish","type":"kotlin","link":"https:\/\/blog.jetbrains.com\/zh-hans\/kotlin\/2023\/11\/kotlin-multiplatform-stable\/","title":{"rendered":"Kotlin Multiplatform \u5df2\u7ecf\u7a33\u5b9a\u5e76\u4e14\u53ef\u4ee5\u6295\u5165\u751f\u4ea7\u73af\u5883"},"content":{"rendered":"<p><strong>Kotlin Multiplatform \u662f\u4e00\u9879\u7531 JetBrains \u6784\u5efa\u7684\u5f00\u6e90\u6280\u672f\uff0c\u4f7f\u5f00\u53d1\u8005\u80fd\u591f\u5728\u8de8\u5e73\u53f0\u5171\u4eab\u4ee3\u7801\u7684\u540c\u65f6\u4fdd\u7559\u539f\u751f\u7f16\u7a0b\u7684\u4f18\u52bf\u3002\u73b0\u5728\uff0c\u8fd9\u9879\u6280\u672f\u53d6\u5f97\u4e86\u5907\u53d7\u671f\u5f85\u7684\u8fdb\u5c55\uff0c\u5df2\u7ecf\u7a33\u5b9a\u5e76\u5b8c\u5168\u505a\u597d\u4e86\u6295\u5165\u751f\u4ea7\u73af\u5883\u7684\u51c6\u5907\u3002<\/strong><\/p>\n<p><strong>\u8bf7\u7ee7\u7eed\u9605\u8bfb\u4ee5\u8be6\u7ec6\u4e86\u89e3 Kotlin Multiplatform (KMP) \u7684\u6f14\u53d8\uff0c\u5b83\u4f1a\u5982\u4f55\u7b80\u5316\u60a8\u7684\u5f00\u53d1\u6d41\u7a0b\uff0c\u4ee5\u53ca\u60a8\u53ef\u4ee5\u83b7\u5f97\u54ea\u4e9b\u6559\u80b2\u8d44\u6e90\u4ee5\u5145\u5206\u5229\u7528\u8fd9\u9879\u6280\u672f\u3002<\/strong><\/p>\n<p align=\"center\"><a class=\"ek-link jb-download-button\" title=\"\u5f00\u59cb\" href=\"http:\/\/jetbrains.com.cn\/help\/kotlin-multiplatform-dev\/get-started.html?utm_source=kotlinblog&amp;utm_medium=button&amp;utm_campaign=kmp-stable\" target=\"_blank\" rel=\"noopener\">\u5f00\u59cb<\/a><\/p>\n<h2 class=\"wp-block-heading\">\u4fe1\u5fc3\u6ee1\u6ee1\u5730\u6309\u7167<em>\u60a8<\/em>\u7684\u65b9\u5f0f\u5171\u4eab\u4ee3\u7801<\/h2>\n<p>Kotlin Multiplatform (KMP) \u4ee5\u7075\u6d3b\u6027\u548c\u9002\u5e94\u6027\u4e3a\u8bbe\u8ba1\u6838\u5fc3\uff0c\u6a21\u7cca\u4e86\u8de8\u5e73\u53f0\u4e0e\u539f\u751f\u5f00\u53d1\u4e4b\u95f4\u7684\u754c\u9650\u3002 \u5b83\u4f7f\u5f00\u53d1\u8005\u53ef\u4ee5\u91cd\u7528\u5c3d\u53ef\u80fd\u591a\u7684\u4ee3\u7801\uff0c\u6839\u636e\u9700\u8981\u7f16\u5199\u539f\u751f\u4ee3\u7801\uff0c\u5e76\u5c06\u5171\u4eab\u7684 Kotlin \u4ee3\u7801\u65e0\u7f1d\u96c6\u6210\u5230\u4efb\u4f55\u9879\u76ee\u4e2d\u3002<\/p>\n<p>\u81ea KMP \u9996\u6b21\u53d1\u5e03\u4ee5\u6765\uff0c\u5b83\u7684\u7075\u6d3b\u6027\u5438\u5f15\u4e86\u8bf8\u5982 Netflix\u3001Philips\u3001McDonald\u2019s\u30019GAG \u548c\u767e\u5ea6\u7b49<a href=\"http:\/\/jetbrains.com.cn\/help\/kotlin-multiplatform-dev\/case-studies.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u8bb8\u591a\u77e5\u540d\u516c\u53f8<\/a>\u3002 \u8bb8\u591a\u56e2\u961f\u90fd\u5df2\u7ecf\u5728\u5229\u7528 KMP \u7684\u9010\u6b65\u96c6\u6210\u80fd\u529b\u53ca\u5176\u8f83\u4f4e\u7684\u91c7\u7528\u98ce\u9669\u3002 \u5176\u4e2d\u4e00\u4e9b\u56e2\u961f\u4f1a\u5171\u4eab\u73b0\u6709 Kotlin \u4ee3\u7801\u4e2d\u9694\u79bb\u7684\u5173\u952e\u90e8\u5206\uff0c\u4ece\u800c\u63d0\u9ad8\u5e94\u7528\u7684\u7a33\u5b9a\u6027\u3002 \u5176\u4ed6\u56e2\u961f\u5219\u81f4\u529b\u4e8e\u5728\u4e0d\u5f71\u54cd\u5e94\u7528\u8d28\u91cf\u7684\u60c5\u51b5\u4e0b\u91cd\u7528\u5c3d\u53ef\u80fd\u591a\u7684\u4ee3\u7801\uff0c\u5728\u79fb\u52a8\u3001\u684c\u9762\u3001Web \u548c\u7535\u89c6\u7aef\u5171\u4eab\u6240\u6709\u5e94\u7528\u903b\u8f91\uff0c\u540c\u65f6\u4fdd\u6301\u539f\u751f UI\u3002<\/p>\n<p>KMP \u81ea Alpha \u7248\u672c\u4ee5\u6765\u4fbf\u5728\u751f\u4ea7\u4e2d\u5f97\u5230\u5e7f\u6cdb\u4f7f\u7528\uff0c\u56e0\u6b64\uff0cJetBrains \u80fd\u591f\u6536\u96c6\u5230\u5e7f\u6cdb\u7684\u53cd\u9988\u5e76\u5bf9\u6280\u672f\u8fdb\u884c\u4e86\u5982\u4e0b\u6539\u8fdb\uff0c\u4ee5\u4fbf\u5728\u7a33\u5b9a\u7248\u672c\u4e2d\u63d0\u4f9b\u66f4\u51fa\u8272\u7684\u591a\u5e73\u53f0\u5f00\u53d1\u4f53\u9a8c\u3002<\/p>\n<p><strong>\u4e25\u683c\u7684\u517c\u5bb9\u6027\u4fdd\u8bc1<\/strong><\/p>\n<p>Kotlin Multiplatform \u6280\u672f\u7684\u6838\u5fc3\u7531\u8bb8\u591a\u90e8\u5206\u7ec4\u6210\uff0c\u4f8b\u5982\u7f16\u8bd1\u5668\u652f\u6301\u3001\u8bed\u8a00\u529f\u80fd\u3001\u5e93 API\u3001IDE\u3001\u6784\u5efa\u5de5\u5177\u7b49\u3002 \u8fd9\u4e9b\u90e8\u5206\u8986\u76d6\u4e86\u6700\u70ed\u95e8\u7684\u4ee3\u7801\u5171\u4eab\u7528\u4f8b\uff0c\u5e76\u4e14\u5728 Kotlin 1.9.20 \u4e2d\u5f97\u5230\u7a33\u5b9a\u3002 \u201c\u7a33\u5b9a\u201d\u610f\u5473\u7740\u6211\u4eec\u5728\u6539\u8fdb\u8fd9\u4e9b\u90e8\u5206\u65f6\u5c06\u9075\u5faa\u4e25\u683c\u7684<a href=\"https:\/\/kotlinlang.org\/docs\/components-stability.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u517c\u5bb9\u6027\u89c4\u5219<\/a>\uff0c\u4ece\u800c\u4f7f\u60a8\u80fd\u591f\u4fe1\u5fc3\u6ee1\u6ee1\u5730\u5c06\u5176\u7528\u4e8e\u60a8\u7684\u4ee3\u7801\u3002<\/p>\n<p>\u9664\u4e86\u6838\u5fc3\u4e4b\u5916\uff0cKMP \u8fd8\u6709\u4e00\u4e9b\u6211\u4eec\u4ecd\u5728\u7ee7\u7eed\u5f00\u53d1\u7684\u66f4\u9ad8\u7ea7\u90e8\u5206\u3002 expect\/actual \u7c7b\u5c31\u662f\u6b64\u7c7b\u529f\u80fd\u7684\u4e00\u4e2a\u793a\u4f8b\uff08\u8bf7\u52ff\u4e0e expect\/actual <em>\u51fd\u6570<\/em>\u6df7\u6dc6\uff0c\u5b83\u4eec\u5728 Kotlin 1.9.20 \u4e2d\u5df2\u5b8c\u5168\u7a33\u5b9a\uff09\u3002 \u6b64\u7c7b\u529f\u80fd\u88ab\u660e\u786e\u6807\u8bb0\u4e3a\u975e\u7a33\u5b9a\uff0cKotlin \u4f1a\u5728\u60a8\u4f7f\u7528\u5b83\u4eec\u65f6\u53d1\u51fa\u901a\u77e5\u3002 \u8bf7\u6ce8\u610f\u5b9e\u9a8c\u6027\u8b66\u544a\u548c\u76f8\u5e94\u6587\u6863\uff0c\u4ee5\u4fbf\u660e\u667a\u5730\u51b3\u5b9a\u662f\u5426\u8981\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u6b64\u7c7b\u529f\u80fd\u3002<\/p>\n<p><strong>\u66f4\u51fa\u8272\u7684\u6784\u5efa\u8bbe\u7f6e\u7528\u6237\u4f53\u9a8c<\/strong><\/p>\n<p>\u4e3a\u4e86\u7b80\u5316\u9879\u76ee\u8bbe\u7f6e\u548c\u7ef4\u62a4\uff0c\u6211\u4eec\u5f15\u5165\u4e86<a href=\"https:\/\/kotlinlang.org\/docs\/whatsnew1920.html#template-for-configuring-multiplatform-projects\" target=\"_blank\" rel=\"noreferrer noopener\">\u9ed8\u8ba4\u5c42\u6b21\u7ed3\u6784\u6a21\u677f<\/a>\u3002 Kotlin Gradle \u63d2\u4ef6\u7684\u8fd9\u4e00\u65b0\u529f\u80fd\u4f1a\u9488\u5bf9\u70ed\u95e8\u573a\u666f\u81ea\u52a8\u914d\u7f6e Kotlin \u6e90\u96c6\uff0c\u5e76\u51cf\u5c11\u5178\u578b\u6784\u5efa\u811a\u672c\u4e2d\u7684\u6837\u677f\u4ee3\u7801\u91cf\u3002<\/p>\n<p>\u4e3a\u4e86\u5e2e\u52a9\u60a8\u8bca\u65ad\u6784\u5efa\u9519\u8bef\u914d\u7f6e\u548c\u9519\u8bef\uff0cKMP \u5728\u7a33\u5b9a\u7248\u4e2d\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6539\u8fdb\uff1a<\/p>\n<ul>\n<li>Kotlin Gradle \u63d2\u4ef6\u4e2d\u6dfb\u52a0\u4e86\u7ea6 50 \u9879\u8bca\u65ad\uff0c\u6709\u52a9\u4e8e\u68c0\u6d4b\u5e38\u89c1\u7684\u6784\u5efa\u95ee\u9898\u5e76\u63d0\u4f9b\u6709\u5173\u5982\u4f55\u4fee\u6b63\u8fd9\u4e9b\u95ee\u9898\u7684\u5feb\u901f\u63d0\u793a\u3002<\/li>\n<li><a href=\"https:\/\/kotlinlang.org\/docs\/whatsnew1820.html#improved-output-for-gradle-errors-in-xcode\" target=\"_blank\" rel=\"noopener\" data-type=\"link\" data-id=\"https:\/\/kotlinlang.org\/docs\/whatsnew1820.html#improved-output-for-gradle-errors-in-xcode\">\u6539\u8fdb\u4e86 Xcode \u4e2d Gradle \u9519\u8bef\u7684\u8f93\u51fa<\/a>\uff0c\u4ece\u800c\u4f7f\u9879\u76ee\u539f\u751f\u90e8\u5206\u4e2d\u7684\u6784\u5efa\u95ee\u9898\u66f4\u5bb9\u6613\u88ab\u53d1\u73b0\u3002<\/li>\n<\/ul>\n<p><strong>\u6784\u5efa\u548c\u8fd0\u884c\u65f6\u6027\u80fd<\/strong><strong>\u6539\u8fdb<\/strong><\/p>\n<p>\u9664\u4e86\u5176\u4ed6\u7a33\u5b9a\u6027\u548c\u7a33\u5065\u6027\u6539\u8fdb\u4e4b\u5916\uff0c\u6211\u4eec\u8fd8\u5728\u7ee7\u7eed\u6539\u8fdb KMP \u7684\u6027\u80fd\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/kotlinlang.org\/docs\/whatsnew1920.html#full-support-for-the-gradle-configuration-cache-in-kotlin-multiplatforml\" target=\"_blank\" rel=\"noreferrer noopener\">Gradle \u914d\u7f6e\u7f13\u5b58\u652f\u6301<\/a>\u53ef\u4ee5\u901a\u8fc7\u5728\u540e\u7eed\u6784\u5efa\u4e2d\u91cd\u7528\u914d\u7f6e\u9636\u6bb5\u7684\u7ed3\u679c\u6765\u52a0\u5feb\u6784\u5efa\u6d41\u7a0b\u3002<\/li>\n<li><a href=\"https:\/\/kotlinlang.org\/docs\/whatsnew19.html#preview-of-custom-memory-allocator\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin\/Native \u4e2d\u7684\u81ea\u5b9a\u4e49\u5185\u5b58\u5206\u914d\u5668\u9884\u89c8<\/a>\u63d0\u5347\u4e86 Kotlin\/Native \u5185\u5b58\u7ba1\u7406\u5668\u7684\u8fd0\u884c\u65f6\u6027\u80fd\u3002<\/li>\n<li>\u65b0\u7684\u5b9e\u9a8c\u6027 <a href=\"https:\/\/kotlinlang.org\/docs\/whatsnew1920.html#incremental-compilation-of-klib-artifacts\" target=\"_blank\" rel=\"noreferrer noopener\">`klib` \u5de5\u4ef6\u589e\u91cf\u7f16\u8bd1<\/a>\u53ef\u4ee5\u52a0\u5feb Kotlin\/Native \u7f16\u8bd1\u901f\u5ea6\u3002<\/li>\n<li>\u5c06 <a href=\"https:\/\/kotlinlang.org\/docs\/whatsnew1820.html#reimplementation-of-compiler-cache-management-in-the-compiler\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin\/Native \u7f16\u8bd1\u5668\u7f13\u5b58\u7ba1\u7406<\/a>\u4ece Kotlin Gradle \u63d2\u4ef6\u79fb\u81f3\u7f16\u8bd1\u5668\u53ef\u4ee5\u8fdb\u4e00\u6b65\u7f29\u77ed\u7f16\u8bd1\u65f6\u95f4\u548c\u63d0\u9ad8\u7f16\u8bd1\u5668\u7f13\u5b58\u7075\u6d3b\u6027\u3002<\/li>\n<\/ul>\n<p><strong>\u5f97\u76ca\u4e8e\u4e0a\u8ff0\u5404\u9879\u8fdb\u6b65\uff0c\u5373\u4f7f\u5728\u6700\u4fdd\u5b88\u7684\u4f7f\u7528\u573a\u666f\u4e2d\uff0c\u7528\u6237\u4e5f\u53ef\u4ee5\u6beb\u4e0d\u72b9\u8c6b\u5730\u4f7f\u7528 Kotlin Multiplatform \u5728 Android\u3001iOS\u3001\u684c\u9762 (JVM)\u3001\u670d\u52a1\u5668\u7aef (JVM) \u548c Web \u4e4b\u95f4\u7684\u751f\u4ea7\u73af\u5883\u4e2d\u5171\u4eab\u4ee3\u7801\u3002<\/strong><\/p>\n<p align=\"center\"><a class=\"ek-link jb-download-button\" title=\"\u5f00\u59cb\" href=\"http:\/\/jetbrains.com.cn\/help\/kotlin-multiplatform-dev\/get-started.html?utm_source=kotlinblog&amp;utm_medium=button&amp;utm_campaign=kmp-stable\" target=\"_blank\" rel=\"noopener\">\u5f00\u59cb<\/a><\/p>\n<h2 class=\"wp-block-heading\">\u5229\u7528\u4e0d\u65ad\u53d1\u5c55\u7684 Kotlin Multiplatform \u751f\u6001\u7cfb\u7edf\u7684\u529b\u91cf<\/h2>\n<p>Kotlin Multiplatform \u7684\u53d1\u5c55\u4e0d\u4ec5\u9650\u4e8e\u6280\u672f\u672c\u8eab\uff0c\u8fd8\u5ef6\u4f38\u5230\u4e86\u7531\u5168\u7403\u6570\u5343\u540d Kotlin \u5f00\u53d1\u8005\u5171\u540c\u57f9\u80b2\u7684\u84ec\u52c3\u751f\u6001\u7cfb\u7edf\u3002 \u81ea Beta \u7248\u4ee5\u6765\uff0cKMP \u5e93\u7684\u6570\u91cf\u5df2\u6210\u500d\u589e\u52a0\uff0c\u4e3a\u7f51\u7edc\u3001\u6570\u636e\u5b58\u50a8\u3001\u7b97\u672f\u3001\u5206\u6790\u7b49\u9886\u57df\u63d0\u4f9b\u4e86\u591a\u6837\u5316\u7684\u5de5\u5177\uff0c\u52a9\u529b\u5feb\u901f\u548c\u81ea\u4fe1\u7684\u5e94\u7528\u5f00\u53d1\u3002<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-401835\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/11\/Libraries-2800x995.png\" alt=\"\" width=\"2800\" height=\"995\" \/><\/figure>\n<p>\u901a\u8fc7\u63d0\u4f9b\u5b9e\u9a8c\u6027 <a href=\"https:\/\/developer.android.com\/kotlin\/multiplatform\" target=\"_blank\" rel=\"noreferrer noopener\">Multiplatform \u7248\u672c Jetpack \u5e93<\/a>\uff0c<strong>Google \u7684 Android \u56e2\u961f\u6b63\u5728\u7ee7\u7eed\u4e3a KMP \u7528\u6237\u63d0\u4f9b\u652f\u6301<\/strong>\uff0c\u5e76\u4e14\u4ed6\u4eec\u5df2\u7ecf\u5b9e\u73b0\u4e86 Collections\u3001DataStore\u3001Annotations \u548c Paging \u5e93\u4e0e Kotlin Multiplatform \u7684\u517c\u5bb9\u3002<\/p>\n<p>KMP \u751f\u6001\u7cfb\u7edf\u8fd8\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u6709\u52a9\u4e8e\u63d0\u5347 iOS \u5f00\u53d1\u8005\u4f53\u9a8c\u7684\u5de5\u5177\uff0c\u5176\u4e2d\u7531 Touchlab \u6253\u9020\u7684 <a href=\"https:\/\/touchlab.co\/tryskie\" target=\"_blank\" rel=\"noreferrer noopener\">SKIE<\/a> \u5c24\u4e3a\u7a81\u51fa\u3002 \u5b83\u6240\u751f\u6210\u7684 Swift \u4ee3\u7801\u63d0\u4f9b\u4e86\u5bf9 Swift \u53cb\u597d\u7684 API \u5c42\uff0c\u53ef\u6865\u63a5\u91cd\u8981\u7684 Kotlin \u7c7b\u578b\uff0c\u5e76\u5b9e\u73b0\u65e0\u7f1d\u5f0f\u534f\u7a0b\u4e92\u64cd\u4f5c\u6027\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u901a\u8fc7 Compose Multiplatform \u83b7\u5f97\u66f4\u591a\u4ee3\u7801\u5171\u4eab\u81ea\u7531<\/h2>\n<p><a href=\"https:\/\/www.jetbrains.com\/zh-cn\/lp\/compose-multiplatform\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"link\" data-id=\"https:\/\/www.jetbrains.com\/lp\/compose-multiplatform?utm_source=kotlinblog&amp;utm_medium=button&amp;utm_campaign=kmp-stable\">Compose Multiplatform<\/a> \u662f\u7531 JetBrains \u6253\u9020\u7684\u73b0\u4ee3\u58f0\u660e\u5f0f\u8de8\u5e73\u53f0 UI \u6846\u67b6\uff0c\u662f\u4e0d\u65ad\u58ee\u5927\u7684 KMP \u751f\u6001\u7cfb\u7edf\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002 \u501f\u52a9 Compose Multiplatform\uff0c\u60a8\u73b0\u5728\u53ef\u4ee5\u4f53\u9a8c\u5230\u5145\u5206\u7684\u4ee3\u7801\u5171\u4eab\u7075\u6d3b\u6027\u3002 \u5171\u4eab\u4e00\u6bb5\u903b\u8f91\u3001\u6240\u6709\u5e94\u7528\u7a0b\u5e8f\u903b\u8f91\u6216\u540c\u65f6\u5171\u4eab\u903b\u8f91\u548c UI\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u60a8\u7684\u9879\u76ee\u548c\u56e2\u961f\u7684\u8981\u6c42\uff1a<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-401808\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/11\/image.png\" alt=\"\" width=\"1600\" height=\"466\" \/><\/figure>\n<p>Compose Multiplatform for Android \u548c\u9002\u7528\u4e8e\u684c\u9762 (JVM) \u5e73\u53f0\u7684 Compose Multiplatform \u5df2\u7ecf\u7a33\u5b9a\uff0c\u800c\u5bf9 iOS \u7684\u652f\u6301\u76ee\u524d\u5904\u4e8e Alpha \u9636\u6bb5\uff0c\u5bf9 Web (Wasm) \u7684\u652f\u6301\u76ee\u524d\u5904\u4e8e\u5b9e\u9a8c\u9636\u6bb5\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u63a2\u7d22 Kotlin Multiplatform \u7684\u672a\u6765<\/h2>\n<p>JetBrains \u4f1a\u7ee7\u7eed\u589e\u5f3a Kotlin \u7684\u591a\u5e73\u53f0\u5f00\u53d1\uff0c\u65e8\u5728\u4f7f\u5176\u6210\u4e3a\u8de8\u5e73\u53f0\u5171\u4eab\u4ee3\u7801\u7684\u7406\u60f3\u9009\u62e9\uff1a<\/p>\n<ul>\n<li>\u672a\u6765\u7684 Kotlin Multiplatform \u6838\u5fc3\u6280\u672f\u66f4\u65b0\u5c06\u63d0\u5347 iOS \u5f00\u53d1\u8005\u4f53\u9a8c\uff0c\u5305\u62ec Kotlin \u5230 Swift \u7684\u76f4\u63a5\u4e92\u64cd\u4f5c\u6027\u548c SwiftPM \u652f\u6301\u3002<\/li>\n<li>Compose Multiplatform for iOS \u7684\u4e0b\u4e00\u4e2a\u91cc\u7a0b\u7891\u5c06\u662f\u5728 2024 \u5e74\u63a8\u51fa\u7684 Beta \u652f\u6301\u3002<\/li>\n<li>JetBrains \u6b63\u5728\u79ef\u6781\u5f00\u53d1 Kotlin\/Wasm \u4ee5\u4fc3\u8fdb KMP \u7684\u73b0\u4ee3 Web \u5f00\u53d1\u80fd\u529b\uff0c\u76ee\u6807\u662f\u660e\u5e74\u63d0\u4f9b Compose Multiplatform for Web (Wasm) \u7684 Alpha \u7248\u672c\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u8fd8\u4e0d\u662f\u5168\u90e8\u3002 \u5728\u63a5\u4e0b\u6765\u7684\u51e0\u5468\u5185\uff0c\u51c6\u5907\u597d\u8fce\u63a5\u6709\u5173 Kotlin Multiplatform \u5de5\u5177\u53d1\u5c55\u7684\u4e00\u4e9b\u6fc0\u52a8\u4eba\u5fc3\u7684\u516c\u544a\u5427\uff01<\/p>\n<h2 class=\"wp-block-heading\">Kotlin Multiplatform \u4f7f\u7528\u5165\u95e8<\/h2>\n<p>\u501f\u52a9\u6211\u4eec\u5e7f\u6cdb\u4e14\u4eba\u6027\u5316\u7684\u6559\u80b2\u8d44\u6e90\u5f00\u59cb\u60a8\u7684\u65c5\u7a0b\u3002<\/p>\n<p>\u53c2\u52a0\u6211\u4eec\u7684 <strong>Kotlin Multiplatform 11 \u6708\u7cfb\u5217\u5728\u7ebf\u8bb2\u5ea7<\/strong>\uff0c\u76f4\u63a5\u4ece JetBrains \u4e13\u5bb6\u90a3\u91cc\u83b7\u5f97\u89c1\u89e3\uff01 \u63a2\u7d22 Kotlin Multiplatform \u529f\u80fd\uff0c\u4f7f\u7528\u539f\u751f\u548c\u5171\u4eab UI \u6784\u5efa KMP \u5e94\u7528\uff0c\u5e76\u63a2\u7d22 iOS \u5f00\u53d1\u63d0\u793a\u548c\u6280\u5de7\uff1a<\/p>\n<p align=\"center\"><a class=\"ek-link jb-download-button\" title=\"\u6ce8\u518c\" href=\"https:\/\/info.jetbrains.com\/kotlin-webinars-2023.html?utm_source=kotlinblog&amp;utm_medium=button&amp;utm_campaign=kmp-stable\" target=\"_blank\" rel=\"noopener\">\u6ce8\u518c<\/a><\/p>\n<p>\u65b0\u7684 <strong>Kotlin Multiplatform \u5f00\u53d1\u95e8\u6237<\/strong>\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u6587\u6863\u3001\u5165\u95e8\u6307\u5357\u548c\u5206\u6b65\u6559\u7a0b\uff0c\u6db5\u76d6\u4f7f\u7528 Kotlin Multiplatform \u548c Compose Multiplatform \u6784\u5efa\u5e94\u7528\u7684\u5404\u65b9\u9762\u5185\u5bb9\uff1a<\/p>\n<p align=\"center\"><a class=\"ek-link jb-download-button\" title=\"\u5f00\u59cb\" href=\"http:\/\/jetbrains.com.cn\/help\/kotlin-multiplatform-dev\/get-started.html?utm_source=kotlinblog&amp;utm_medium=button&amp;utm_campaign=kmp-stable\" target=\"_blank\" rel=\"noopener\">\u5f00\u59cb<\/a><\/p>\n\n\n<p><\/p>\n\n\n\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":1297,"featured_media":406189,"comment_status":"closed","ping_status":"closed","template":"","categories":[956],"tags":[6706,6436,76],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/kotlin\/403789"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/kotlin"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/kotlin"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=403789"}],"version-history":[{"count":8,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/kotlin\/403789\/revisions"}],"predecessor-version":[{"id":409286,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/kotlin\/403789\/revisions\/409286"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/406189"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=403789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=403789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=403789"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=403789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}