{"id":30,"date":"2026-06-16T18:37:43","date_gmt":"2026-06-16T10:37:43","guid":{"rendered":"https:\/\/blog.forgo.work\/?p=30"},"modified":"2026-06-16T18:53:11","modified_gmt":"2026-06-16T10:53:11","slug":"unity-cloud-build-%e8%87%aa%e5%8a%a8%e5%8c%96%e6%89%93%e5%8c%85-ipa-%e5%b9%b6%e4%b8%8a%e4%bc%a0-app-store-connect-%e8%b8%a9%e5%9d%91%e5%ae%9e%e5%bd%95","status":"publish","type":"post","link":"https:\/\/blog.forgo.work\/?p=30","title":{"rendered":"Unity Cloud Build \u81ea\u52a8\u5316\u6253\u5305 IPA \u5e76\u4e0a\u4f20 App Store Connect \u8e29\u5751\u5b9e\u5f55"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6700\u8fd1\u7ed9 Unity \u9879\u76ee\u642d\u5efa iOS \u81ea\u52a8\u5316\u53d1\u5e03\u6d41\u7a0b\uff0c\u539f\u672c\u89c4\u5212\u662f\u4f7f\u7528 GitHub Actions \u5b8c\u6210\u6574\u4e2a\u6d41\u7a0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GitHub Actions\n    \u2193\nUnity Build\n    \u2193\n\u751f\u6210 IPA\n    \u2193\n\u4e0a\u4f20 App Store Connect<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u8d77\u6765\u5f88\u7f8e\u597d\uff0c\u4f46\u5b9e\u9645\u843d\u5730\u8fc7\u7a0b\u4e2d\u8e29\u4e86\u4e0d\u5c11\u5751\u3002\u6700\u7ec8\u653e\u5f03 GitHub Actions \u6253\u5305\uff0c\u8f6c\u800c\u91c7\u7528 Unity Cloud Build\uff08UCB\uff09\u65b9\u6848\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u7bc7\u6587\u7ae0\u8bb0\u5f55\u51e0\u4e2a\u6700\u5173\u952e\u7684\u95ee\u9898\uff0c\u4ee5\u53ca\u6700\u7ec8\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>Unity License<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5f00\u59cb\u6253\u7b97\u76f4\u63a5\u4f7f\u7528 GitHub Actions \u6784\u5efa Unity \u9879\u76ee\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u679c\u7b2c\u4e00\u6b65\u5c31\u88ab Unity License \u5361\u4f4f\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Personal License<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7f51\u4e0a\u5f88\u591a\u6559\u7a0b\u90fd\u4f1a\u63d0\u5230\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CI \u73af\u5883\u6fc0\u6d3b Unity License<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u5927\u591a\u6570\u6559\u7a0b\u9ed8\u8ba4\u4f7f\u7528\u7684\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Unity Pro\nUnity Plus<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u800c\u6211\u4f7f\u7528\u7684\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Unity Personal<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u95ee\u9898\u5c31\u5728\u8fd9\u91cc\uff1a<strong>Personal License \u4e0d\u518d\u652f\u6301\u79bb\u7ebf\u6fc0\u6d3b<\/strong><sup data-fn=\"b13abaaf-aae6-4b1e-9e7f-4be1deb78b95\" class=\"fn\"><a href=\"#b13abaaf-aae6-4b1e-9e7f-4be1deb78b95\" id=\"b13abaaf-aae6-4b1e-9e7f-4be1deb78b95-link\">1<\/a><\/sup><sup data-fn=\"0f4a511a-a247-4275-b47f-39101b45726b\" class=\"fn\"><a href=\"#0f4a511a-a247-4275-b47f-39101b45726b\" id=\"0f4a511a-a247-4275-b47f-39101b45726b-link\">2<\/a><\/sup>\u3002Unity Personal License \u7684\u6fc0\u6d3b\u65b9\u5f0f\u53ea\u5269\u4e0b\uff1a<code>Unity Hub \u767b\u5f55<\/code>\uff0c\u65e0\u6cd5\u50cfPro License \u90a3\u6837\u901a\u8fc7 License \u6587\u4ef6\u8fdb\u884c\u7a33\u5b9a\u7684\u79bb\u7ebf\u6fc0\u6d3b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5f\u5c31\u662f\u8bf4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u672c\u5730\u7535\u8111\n\u2193\nUnity Hub \u767b\u5f55\n\u2193\n\u6fc0\u6d3b\u6210\u529f<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837\u662f\u6ca1\u6709\u95ee\u9898\u7684\uff0c\u4f46\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GitHub Actions\n\u2193\n\u65e0\u754c\u9762\u73af\u5883\n\u2193\n\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528 Unity Hub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u90a3\u4e48\u95ee\u9898\u5c31\u6765\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u793e\u533a\u65b9\u6848<\/strong>\u5931\u6548<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5f\u67e5\u5230\u7684\u4e00\u4e9b\u65b9\u6848\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>unity-builder\ngame-ci<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5927\u591a\u90fd\u6d89\u53ca .alf \u2192 .ulf \u7684 License \u6fc0\u6d3b\u6d41\u7a0b\u3002Unity \u5173\u95ed<strong>Personal License<\/strong>\u540e\uff0c\u8fd9\u7c7b\u65b9\u6848\u8c8c\u4f3c\u4e5f\u5931\u6548\u4e86\uff0c\u5c31\u6ca1\u6709\u7ee7\u7eed\u6d4b\u8bd5\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Editor \u4f53\u79ef\u548c\u7f13\u5b58\u95ee\u9898<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9664\u4e86\u521a\u521a\u7684<strong>License<\/strong>\u95ee\u9898\uff0cGithub Action \u6253\u5305\u8fd8\u6709\u4e00\u4e2a\u66f4\u4e25\u91cd\u7684\u95ee\u9898\u3002Unity Editor\u53ef\u6267\u884c\u9ad8\u8fbe5G\uff08\u4ee5\u6211\u4eec\u73b0\u5728\u7528\u76846000.3.15f1\u4e3a\u4f8b\uff09\u8981\u662f\u6bcf\u6b21\u53bb\u4e0b\u8f7d\uff0c\u6d6a\u8d39\u592a\u591a\u65f6\u95f4\u3002\u5373\u4f7f\u7f13\u5b58\u4e0b\u6765\uff0c\u6bcf\u6b21\u6062\u590d\u4e5f\u662f\u4e0d\u5c0f\u7684\u8017\u65f6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unity \u9879\u76ee\u6700\u5927\u7684\u65f6\u95f4\u6d88\u8017\u5176\u5b9e\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Library<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7406\u8bba\u4e0a\u53ef\u4ee5\u7f13\u5b58\u3002\u4f46\u5b9e\u9645\u4e0a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5347\u7ea7 Unity\n\u5347\u7ea7 Package\n\u4fee\u6539\u4f9d\u8d56<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e4b\u540e\u7f13\u5b58\u5f88\u5bb9\u6613\u5931\u6548\u3002\u6700\u7ec8\u6784\u5efa\u65f6\u95f4\u53ef\u80fd\u4e0d\u4f1a\u592a\u7406\u60f3\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>UCB<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u79cd\u60c5\u51b5\uff0c\u7d22\u6027\u76f4\u63a5\u5207\u6362\u5230\uff1aUnity Cloud Build\uff08UCB\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u4e3a\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unity \u5b98\u65b9\u6258\u7ba1<\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u5904\u7406 License<\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u5b89\u88c5 Editor<\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u7ef4\u62a4\u6784\u5efa\u73af\u5883<\/li>\n\n\n\n<li>\u76f4\u63a5\u652f\u6301 ipa \u5bfc\u51fa<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6784\u5efa\u7a33\u5b9a\u6027\u660e\u663e\u63d0\u5347\u3002\u57fa\u672c\u4e0d\u9700\u8981\u505a\u4ec0\u4e48\u64cd\u4f5c\u3002\u6dfb\u52a0\u4ee3\u7801\u4ed3\u5e93\u540e\uff0c\u6dfb\u52a0\u6784\u5efa\u76ee\u6807\uff0c\u5f88\u5c11\u7684\u64cd\u4f5c\u5c31\u80fd\u5b8c\u6210\u6784\u5efa\u3002\u5177\u4f53\u64cd\u4f5c\u5c31\u4e0d\u8ba8\u8bba\u4e86\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>UCB \u6253\u5305\u540e\u4e0a\u4f20 App Store Connect\uff1aFastlane \u7684 AppStoreInfo.plist \u5751<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3\u6253\u5305\u95ee\u9898\u540e\uff0c\u4e0b\u4e00\u6b65\u5c31\u662f\u4e0a\u4f20 IPA\u3002\u6700\u5f00\u59cb\u9009\u62e9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Fastlane<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bd5\u7adf\u662f\u76ee\u524d\u6d41\u884c\u7684\u65b9\u6848\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>AppStoreInfo.plist<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u521a\u5f00\u59cb\u5c1d\u8bd5FlastLane\u4e0a\u4f20\uff0c\u6bdb\u75c5\u5c31\u6765\u4e86\uff08FlastLane\u5177\u4f53\u64cd\u4f5c\u65b9\u6cd5\u4e0d\u5728\u672c\u6587\u8ba8\u8bba\u8303\u6587\uff0c\u6539\u5929\u91cd\u5f00\u4e00\u7bc7\u5199\u4e00\u4e0b\uff09\uff0c\u6211\u662f\u7528wsl\u64cd\u4f5c\u7684\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@ubuntu:~\/Vermilion$ fastlane pilot upload \\\n--ipa \"\/home\/user\/app\/33263704908528-app-default-ios-2.ipa\" \\\n--api_key_path \"\/home\/user\/app\/api_key.json\"\n&#91;\u2714] \ud83d\ude80\n&#91;16:38:21]: Get started using a Gemfile for fastlane https:\/\/docs.fastlane.tools\/getting-started\/ios\/setup\/#use-a-gemfile\n&#91;16:38:22]: Creating authorization token for App Store Connect API\n&#91;16:38:23]: Ready to upload new build to TestFlight (App: xxxx)...\n&#91;16:38:23]: Going to upload updated app to App Store Connect\n&#91;16:38:23]: This might take a few minutes. Please don't interrupt the script.\n&#91;16:38:23]: AppStoreInfo.plist is required for uploading .ipa files on non-macOS platforms.\n&#91;16:38:23]: Expected AppStoreInfo.plist in the same directory as the .ipa file.\n&#91;16:38:23]: Generate it by running either 'fastlane gym &#91;...] --generate_appstore_info'\n&#91;16:38:23]: Or add '&lt;key&gt;generateAppStoreInformation&lt;\/key&gt;&lt;true\/&gt;' in an options.plist then run 'fastlane gym &#91;...] --export_options options.plist'.\n\n&#91;!] Missing required AppStoreInfo.plist file for iTMSTransporter upload<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u5230\u8fd9\u91cc\uff0c\u4eba\u76f4\u63a5\u61f5\u4e86\uff0c\u4e4b\u524dgithub action\u64cd\u4f5c\u4e5f\u662f\u7528 fastlane \u4e0a\u4f20\u554a\uff0c\u600e\u4e48\u8fd9\u91cc\u4e0d\u5bf9\u4e86\uff1f\u9700\u8981AppStoreInfo.plist\uff0c\u8fd9\u662f\u4e2a\u5565\u6587\u4ef6\uff1fUCB \u5bfc\u51fa\u7684\u4ea7\u7269\u91cc\u9762\u6839\u672c\u6ca1\u6709\u8fd9\u4e2a\u6587\u4ef6\u554a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ee7\u7eed\u641c\u7d22\u8d44\u6599\u540e\u53d1\u73b0\u3002\u5f88\u591a\u4eba\u7ed9\u51fa\u7684\u89e3\u51b3\u65b9\u6848\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u627e\u4e00\u53f0 Mac\nArchive \u4e00\u6b21\n\u5bfc\u51fa AppStoreInfo.plist<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8e\u662f\u4e13\u95e8\u501f\u4e86\u4e00\u53f0 Mac\u3002\u6309\u64cd\u4f5cArchive\u540e\uff0c\u786e\u5b9e\u62ff\u5230\u4e86AppStoreInfo.plist\u3002\u628a\u8fd9\u4e2a\u6587\u4ef6\u653e\u5230 IPA \u540c\u76ee\u5f55\u540e\uff0cFastlane \u786e\u5b9e\u80fd\u7ee7\u7eed\u5f80\u4e0b\u6267\u884c\u3002\u4f46\u662f\uff0c\u5b9e\u9645\u6d4b\u8bd5\u53d1\u73b0\u6839\u672c\u4e0d\u662f\u8fd9\u4e48\u56de\u4e8b\u3002\u56e0\u4e3a\u8fd9\u4e2a\u6587\u4ef6\u91cc\u9762\u5305\u542b\u5927\u91cf\u6784\u5efa\u76f8\u5173\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CFBundleVersion\nCFBundleShortVersionString\nTeam \u4fe1\u606f\n\u7b7e\u540d\u4fe1\u606f\nProvisioning Profile\n\u5bfc\u51fa\u914d\u7f6e\n\u56fe\u6807\u914d\u7f6e\n...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">AppStoreInfo.plist\u5e76\u4e0d\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u6587\u4ef6\u5185\u5bb9\u5f88\u590d\u6742\uff0c\u522b\u7684mac\u5bfc\u51fa\u7684\uff0c\u5927\u6982\u7387\u662f\u4e0d\u80fd\u76f4\u63a5\u4e3aucb\u65b0\u751f\u6210\u7684ipa\u4f7f\u7528\u7684\u3002\u6700\u7ec8\u8fd8\u662f\u653e\u5f03\u4e86\uff0c\u4e0d\u6298\u817e\u4ed6\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u7b2c\u4e09\u65b9\u4e0a\u4f20\u5de5\u5177<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u540e\u6765\u4e5f\u8bd5\u8fc7\uff0c\u5f00\u5fc3\u4e0a\u67b6\uff08App Uploader\uff09\uff0c\u4f46\u662f\uff0c\u5b83\u4f9d\u8d56 Apple ID + App \u4e13\u7528\u5bc6\u7801\uff08App-Specific Password\uff09\u3002\u800c\u6211\u66f4\u5e0c\u671b\u6574\u4e2a\u6d41\u7a0b\u57fa\u4e8e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>API Key\nIssuer ID\np8 \u79c1\u94a5<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u73b0\u5b8c\u5168\u81ea\u52a8\u5316\u3002\u56e0\u6b64\u6700\u7ec8\u4e5f\u6ca1\u6709\u91c7\u7528\u8fd9\u7c7b\u65b9\u6848\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Post-build script<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u591a\u65b9\u67e5\u9605\uff0c\u53d1\u73b0ucb\u63d0\u4f9b\u4e86 Post-build script<sup data-fn=\"a84719f1-67cf-48ac-825b-82e88065c30f\" class=\"fn\"><a href=\"#a84719f1-67cf-48ac-825b-82e88065c30f\" id=\"a84719f1-67cf-48ac-825b-82e88065c30f-link\">3<\/a><\/sup>\uff0c\u53ef\u4ee5\u5728 ucb \u6784\u5efa\u5b8c\u6210\u540e\u6267\u884c\u4e00\u4e2a\u811a\u672c\u3002\u8fd9\u4e0d\u5c31\u7b80\u5355\u4e86\u4e48\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 ucb \u7684\u914d\u7f6e\u91cc\uff0c\u6dfb\u52a0\u6784\u5efa\u76ee\u6807\uff0c\u6dfb\u52a0\u4e09\u4e2a\u73af\u5883\u53d8\u91cf\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>APPLE_API_KEY_ID: API_KEY_ID\nAPPLE_API_ISSUER_ID: ISSUER_ID\nAPPLE_API_KEY_CONTENT_BASE64: p8\u6587\u4ef6base64\u503c<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"253\" src=\"https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-02-13-1024x253.png\" alt=\"\" class=\"wp-image-35\" srcset=\"https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-02-13-1024x253.png 1024w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-02-13-300x74.png 300w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-02-13-768x190.png 768w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-02-13-604x149.png 604w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-02-13.png 1398w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6dfb\u52a0\u4ee5\u4e0b\u811a\u672c\u5230 Assets\\Editor\\PostBuild.bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n\necho \"=========================================================\"\necho \"  Starting App Store Connect Auto-Upload Flow (V3)      \"\necho \"=========================================================\"\n\n# 1. \u52a8\u6001\u63a2\u6d4b\u5e76\u5b9a\u4f4d IPA \u6587\u4ef6\u7684\u7edd\u5bf9\u8def\u5f84 (\u4e3b\u52a8\u53bb workspace \u6df1\u5ea6\u641c\u7d22)\necho \"Searching for generated IPA file...\"\nPATH_TO_IPA=$(find \"$WORKSPACE\/.build\/last\" -name \"*.ipa\" 2&gt;\/dev\/null | head -n 1)\n\nif &#91; -z \"$PATH_TO_IPA\" ] || &#91; ! -f \"$PATH_TO_IPA\" ]; then\n    echo \"&#91;ERROR] \u5728 $WORKSPACE\/.build\/last \u76ee\u5f55\u4e0b\u6ca1\u6709\u627e\u5230\u4efb\u4f55 .ipa \u6587\u4ef6\uff01\"\n    echo \"\u8bf7\u786e\u8ba4 Unity \u7f16\u8bd1\u9636\u6bb5\u662f\u5426\u6210\u529f\u7ed3\u675f\u3002\"\n    exit 1\nfi\n\n# 2. \u8fd8\u539f p8 \u6587\u4ef6\nPRIVATE_KEYS_DIR=\"$HOME\/.private_keys\"\nmkdir -p \"$PRIVATE_KEYS_DIR\"\nPRIVATE_KEY_FILE=\"$PRIVATE_KEYS_DIR\/AuthKey_${APPLE_API_KEY_ID}.p8\"\n\necho \"Cleaning and Decoding Apple Auth Key file from Base64...\"\necho \"$APPLE_API_KEY_CONTENT_BASE64\" | base64 -D &gt; \"$PRIVATE_KEY_FILE\"\n\n# 3. \u6821\u9a8c\u6587\u4ef6\u5927\u5c0f\nif &#91; ! -s \"$PRIVATE_KEY_FILE\" ]; then\n    echo \"&#91;ERROR] Base64 \u89e3\u7801\u5931\u8d25\uff0c\u89e3\u51fa\u6765\u7684\u5bc6\u94a5\u6587\u4ef6\u5185\u5bb9\u4e3a\u7a7a\uff01\"\n    exit 1\nfi\n\n# 4. \u8c03\u7528\u82f9\u679c\u5b98\u65b9 altool \u4ea4\u4ed8\u5de5\u5177\nif xcrun altool --upload-app \\\n    -t ios \\\n    -f \"$PATH_TO_IPA\" \\\n    --apiKey \"$APPLE_API_KEY_ID\" \\\n    --apiIssuer \"$APPLE_API_ISSUER_ID\" ; then\n    \n    echo \"=========================================================\"\n    echo \" \ud83c\udf89 TestFlight \u4e0a\u4f20\u6210\u529f\uff01\"\n    echo \"=========================================================\"\n    rm -f \"$PRIVATE_KEY_FILE\"\n    exit 0\nelse\n    echo \"=========================================================\"\n    echo \" \u274c App Store Connect \u4ea4\u4ed8\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u4e0a\u65b9\u82f9\u679c\u8fd4\u56de\u7684\u9519\u8bef\u7801\u3002\"\n    echo \"=========================================================\"\n    rm -f \"$PRIVATE_KEY_FILE\"\n    exit 1\nfi<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6784\u5efa\u914d\u7f6e\u91cc\uff0cPost-build script\uff0c\u8bbe\u7f6e\u6210 Assets\/Editor\/PostBuild.bash\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-03-31-1024x412.png\" alt=\"\" class=\"wp-image-36\" srcset=\"https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-03-31-1024x412.png 1024w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-03-31-300x121.png 300w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-03-31-768x309.png 768w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-03-31-604x243.png 604w, https:\/\/blog.forgo.work\/wp-content\/uploads\/2026\/06\/Snipaste_2026-06-16_18-03-31.png 1391w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bingo! \u641e\u5b9a\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>CFBundleVersion \u81ea\u52a8\u9012\u589e\u95ee\u9898<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u4f20\u6210\u529f\u540e\u53c8\u9047\u5230\u82f9\u679c\u7ecf\u5178\u9519\u8bef\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CFBundleVersion must be higher than previous version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5e94\u7528\u5e02\u573a\u8981\u6c42\uff08\u4e0d\u6b62\u662f\u82f9\u679c\uff09CFBundleVersion\u5fc5\u987b\u9012\u589e\uff08ios\u662fCFBundleVersion\uff0cAndroid\u662fversionCode\uff09\uff0c\u5bf9\u4e8e\u666e\u901aios\u9879\u76ee\u3001flutter\uff0c\u53ef\u4ee5\u901a\u8fc7\u811a\u672c\u4fee\u6539Info.plist\u4fe1\u606f\uff0c\u5b9e\u73b0CFBundleVersion\u7684\u589e\u52a0\u3002Unity\u9879\u76ee\u91cc\u9664\u4e86\u5728\u9879\u76ee\u8bbe\u7f6e\u91cc\uff0c\u8fd8\u771f\u6ca1\u53d1\u73b0\u5728\u54ea\u91cc\u4fee\u6539\u3002\u5982\u679c\u6bcf\u6b21\u624b\u52a8\u6539\uff0c\u6bcf\u6b21\u66f4\u65b0\u524d\u603b\u662f\u4f1a\u5fd8\u8bb0\uff0c\u5c24\u5176\u591a\u4eba\u534f\u4f5c\u9879\u76ee\uff0c\u4e0d\u80fd\u4f9d\u8d56\u4eba\u64cd\u4f5c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4f7f\u7528\u65f6\u95f4\u6233\u4f5c\u4e3a Build Number<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3\u65b9\u6cd5\u5c31\u662f\uff0c\u5728 UCB \u7684 Pre-Export method \u9636\u6bb5\u81ea\u52a8\u6267\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using System;\nusing System.IO;\nusing UnityEditor;\nusing UnityEngine;\n\n#if UNITY_IOS\nusing UnityEditor.iOS.Xcode;\n#endif\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ Unity Cloud Build (UCB) \u81ea\u52a8\u5316\u6784\u5efa\u56de\u8c03\u5904\u7406\u7c7b\n\/\/\/ &lt;\/summary&gt;\npublic static class CloudBuildProcessor\n{\n    \/\/\/ &lt;summary&gt;\n    \/\/\/ \u3010UCB \u914d\u7f6e\u3011\u8bf7\u586b\u5165 UCB \u540e\u53f0\u7684 Pre-Export Method \u8f93\u5165\u6846\uff1aCloudBuildProcessor.OnPreExport\n    \/\/\/ \u6267\u884c\u65f6\u673a\uff1aUnity \u5f00\u59cb\u5bfc\u51fa\u5de5\u7a0b\u4e4b\u524d\n    \/\/\/ &lt;\/summary&gt;\n    public static void OnPreExport()\n    {\n        SetIOSBuildNumber();\n    }\n\n    \/\/\/ &lt;summary&gt;\n    \/\/\/ \u5185\u90e8\u529f\u80fd\uff1a\u5c06 iOS \u7684 Build \u53f7 (CFBundleVersion) \u81ea\u52a8\u914d\u7f6e\u4e3a\u5f53\u524d\u65f6\u95f4\u6233\n    \/\/\/ &lt;\/summary&gt;\n    private static void SetIOSBuildNumber()\n    {\n        string buildNumber = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString();\n        PlayerSettings.iOS.buildNumber = buildNumber;\n        Debug.Log($\"&#91;UCB Pre-Export] iOS CFBundleVersion \/ Build Number \u5df2\u8bbe\u7f6e\u4e3a: {buildNumber}\");\n    }\n\n\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6548\u679c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1752847001\n1752933401\n1753019801<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5929\u7136\u9012\u589e\uff0c\u6c38\u4e0d\u91cd\u590d\u3002\u82f9\u679c\u5bf9\u8fd9\u4e2a\u5b57\u6bb5\u6ca1\u6709\u6700\u5927\u503c\u9650\u5236\uff0c\u53ef\u4ee5\u4e00\u76f4\u7528\u4e0b\u53bb\u3002\u5728UCB\u540e\u53f0\uff0c\u6784\u5efa\u91cc\uff0c\u5c06\u7684 <code>Pre-Export Method<\/code> \u8f93\u5165\u6846\uff1a<code>CloudBuildProcessor.OnPreExport<\/code><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u82f9\u679c\u51fa\u53e3\u5408\u89c4\uff08Export Compliance\uff09\u95ee\u9898<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3 Build Number \u540e\uff0c\u4e0a\u4f20\u6210\u529f\u3002TestFlight \u6b63\u5e38\u5e94\u8be5\u662f\u4f1a\u81ea\u52a8\u5904\u7406\uff0c\u53d1\u9001\u90ae\u4ef6\u7ed9\u6d4b\u8bd5\u4eba\u5458\u3002\u7b49\u4e86\u534a\u5929\uff0c\u6ca1\u6536\u5230\u90ae\u4ef6\uff0c\u4e0a\u53bb\u7785\u4e00\u7785\uff0c\u5466\uff0c\u51fa\u53e3\u5408\u89c4\u95ee\u9898\u53c8\u51fa\u6765\u4e86\u3002\u539f\u5148\u7684\u64cd\u4f5c\u4e5f\u662f\u5728Info.plist\u91cc\u6dfb\u52a0ITSAppUsesNonExemptEncryption\u3002\u53c8\u56de\u5230\u4e86\u521a\u521a\u7684\u95ee\u9898\uff0c\u6ca1\u6709Info.plist\u554a\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>UCB \u81ea\u52a8\u6ce8\u5165<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51b3\u65b9\u6cd5\u8fd8\u662f\u8981\u9760UCB\u554a\u3002Post-Export\u662f\u5728\u6784\u5efa\u5b8c\u6210\u540e\u6267\u884c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using System;\nusing System.IO;\nusing UnityEditor;\nusing UnityEngine;\n\n#if UNITY_IOS\nusing UnityEditor.iOS.Xcode;\n#endif\n\n\/\/\/ &lt;summary&gt;\n\/\/\/ Unity Cloud Build (UCB) \u81ea\u52a8\u5316\u6784\u5efa\u56de\u8c03\u5904\u7406\u7c7b\n\/\/\/ &lt;\/summary&gt;\npublic static class CloudBuildProcessor\n{\n\n    \/\/\/ &lt;summary&gt;\n    \/\/\/ \u3010UCB \u914d\u7f6e\u3011\u8bf7\u586b\u5165 UCB \u540e\u53f0\u7684 Post-Export Method \u8f93\u5165\u6846: CloudBuildProcessor.OnPostExport\n    \/\/\/ \u6267\u884c\u65f6\u673a\uff1aUnity \u6210\u529f\u751f\u6210 Xcode \u5de5\u7a0b\u4e4b\u540e\uff0c\u5f00\u59cb\u7f16\u8bd1 IPA \u4e4b\u524d\n    \/\/\/ &lt;\/summary&gt;\n    \/\/\/ &lt;param name=\"pathToBuiltProject\"&gt;UCB \u81ea\u52a8\u4f20\u5165\u7684 Xcode \u5de5\u7a0b\u6839\u76ee\u5f55\u8def\u5f84&lt;\/param&gt;\n    public static void OnPostExport(string pathToBuiltProject)\n    {\n        FixIOSExportCompliance(pathToBuiltProject);\n    }\n\n    \/\/\/ &lt;summary&gt;\n    \/\/\/ \u5185\u90e8\u529f\u80fd\uff1a\u5728\u751f\u6210\u7684 Info.plist \u4e2d\u81ea\u52a8\u6ce8\u5165\u82f9\u679c\u51fa\u53e3\u5408\u89c4\u8bc1\u660e (ITSAppUsesNonExemptEncryption = false)\n    \/\/\/ &lt;\/summary&gt;\n    private static void FixIOSExportCompliance(string pathToBuiltProject)\n    {\n        Debug.Log($\"&#91;UCB Post-Export] \u6b63\u5728\u5f00\u59cb\u4fee\u6539 Info.plist\uff0c\u76ee\u6807\u8def\u5f84: {pathToBuiltProject}\");\n\n#if UNITY_IOS\n        \/\/ 1. \u83b7\u53d6\u5e76\u8bfb\u53d6 Info.plist\n        string plistPath = Path.Combine(pathToBuiltProject, \"Info.plist\");\n        if (!File.Exists(plistPath))\n        {\n            Debug.LogError($\"&#91;UCB Post-Export] \u672a\u627e\u5230 Info.plist \u6587\u4ef6: {plistPath}\");\n            return;\n        }\n\n        PlistDocument plist = new PlistDocument();\n        plist.ReadFromFile(plistPath);\n\n        \/\/ 2. \u63d2\u5165\u5173\u95ed\u51fa\u53e3\u5408\u89c4\u63d0\u793a\u7684\u5e03\u5c14\u503c\n        PlistElementDict rootDict = plist.root;\n        rootDict.SetBoolean(\"ITSAppUsesNonExemptEncryption\", false);\n\n        \/\/ 3. \u4fdd\u5b58\u6587\u4ef6\n        plist.WriteToFile(plistPath);\n        Debug.Log(\"&#91;UCB Post-Export] \u6210\u529f\u5411 Info.plist \u5199\u5165 ITSAppUsesNonExemptEncryption = false\");\n#else\n        Debug.LogWarning(\"&#91;UCB Post-Export] \u5f53\u524d\u975e iOS \u5e73\u53f0\u73af\u5883\uff0c\u8df3\u8fc7 Info.plist \u4fee\u6539\u3002\");\n#endif\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728UCB \u540e\u53f0\u7684 <code>Post-Export Method<\/code> \u8f93\u5165\u6846: <code>CloudBuildProcessor.OnPostExport<\/code>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6784\u5efa\u65f6\u81ea\u52a8\u5b8c\u6210\u3002\u65e0\u9700\u4eba\u5de5\u5e72\u9884\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u641e\u5b9a\uff0c\u624b\u5de5\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u6700\u7ec8\u6d41\u7a0b<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7ec8\u5f62\u6210\u7684\u81ea\u52a8\u5316\u53d1\u5e03\u94fe\u8def\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Git Push\n    \u2193\nUnity Cloud Build\n    \u2193\nPre-Export\n    \u251c\u2500 \u81ea\u52a8\u751f\u6210 CFBundleVersion\n    \u2193\n\u751f\u6210 Xcode \u5de5\u7a0b\n    \u2193\nPost-Export\n    \u251c\u2500 \u81ea\u52a8\u5199\u5165\u51fa\u53e3\u5408\u89c4\u914d\u7f6e\n    \u2193\n\u751f\u6210 IPA\n    \u2193\nShell Script\n    \u251c\u2500 \u81ea\u52a8\u5bfb\u627e IPA\n    \u251c\u2500 \u81ea\u52a8\u6062\u590d API Key\n    \u251c\u2500 altool \u4e0a\u4f20\n    \u2193\nTestFlight<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6574\u4e2a\u6d41\u7a0b\u4e0b\u6765\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0d\u4f9d\u8d56 GitHub Actions \u6784\u5efa Unity<\/li>\n\n\n\n<li>\u4e0d\u4f9d\u8d56 Fastlane<\/li>\n\n\n\n<li>\u4e0d\u4f9d\u8d56 App Uploader<\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u624b\u5de5\u4fee\u6539 Build Number<\/li>\n\n\n\n<li>\u4e0d\u9700\u8981\u6bcf\u6b21\u586b\u5199\u51fa\u53e3\u5408\u89c4\u4fe1\u606f<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u4f7f\u7528 Unity Personal License \u7684\u72ec\u7acb\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u8fd9\u5957\u65b9\u6848\u6bd4 GitHub Actions \u66f4\u52a0\u7a33\u5b9a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<ol class=\"wp-block-footnotes\"><li id=\"b13abaaf-aae6-4b1e-9e7f-4be1deb78b95\"><a href=\"https:\/\/docs.unity3d.com\/6000.4\/Documentation\/Manual\/ManualActivationGuide.html\">Unity &#8211; Manual: Introduction to manual license activation<\/a> <a href=\"#b13abaaf-aae6-4b1e-9e7f-4be1deb78b95-link\" aria-label=\"\u8df3\u8f6c\u5230\u811a\u6ce8\u5f15\u7528 1\">\u21a9\ufe0e<\/a><\/li><li id=\"0f4a511a-a247-4275-b47f-39101b45726b\"><a href=\"https:\/\/discussions.unity.com\/t\/unity-no-longer-supports-manual-activation-of-personal-licenses\/926760\/2\">Unity no longer supports manual activation of Personal licenses &#8211; Unity Engine &#8211; Unity Discussions<\/a> <a href=\"#0f4a511a-a247-4275-b47f-39101b45726b-link\" aria-label=\"\u8df3\u8f6c\u5230\u811a\u6ce8\u5f15\u7528 2\">\u21a9\ufe0e<\/a><\/li><li id=\"a84719f1-67cf-48ac-825b-82e88065c30f\"><a href=\"https:\/\/docs.unity.com\/zh-cn\/build-automation\/advanced-build-configuration\/run-custom-scripts-during-the-build-process\">https:\/\/docs.unity.com\/zh-cn\/build-automation\/advanced-build-configuration\/run-custom-scripts-during-the-build-process<\/a> <a href=\"#a84719f1-67cf-48ac-825b-82e88065c30f-link\" aria-label=\"\u8df3\u8f6c\u5230\u811a\u6ce8\u5f15\u7528 3\">\u21a9\ufe0e<\/a><\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u7ed9 Unity \u9879\u76ee\u642d\u5efa iOS \u81ea\u52a8\u5316\u53d1\u5e03\u6d41\u7a0b\uff0c\u6700\u521d\u8ba1\u5212\u4f7f\u7528 GitHub Actions \u5b8c\u6210 Unity \u6784\u5efa\u3001IPA \u6253\u5305\u4ee5\u53ca App Store Connect \u4e0a\u4f20\u3002\u4f46\u5b9e\u9645\u843d\u5730\u8fc7\u7a0b\u4e2d\u53d1\u73b0\uff0cUnity Personal License \u96be\u4ee5\u9002\u914d\u6807\u51c6 CI \u6fc0\u6d3b\u6d41\u7a0b\uff0c\u800c Fastlane \u5728 Linux \u73af\u5883\u4e0a\u4f20 IPA \u65f6\u53c8\u9047\u5230\u4e86 AppStoreInfo.plist \u7f3a\u5931\u7b49\u95ee\u9898\u3002\u7ecf\u8fc7\u4e00\u7cfb\u5217\u8e29\u5751\u4e0e\u65b9\u6848\u9a8c\u8bc1\uff0c\u6700\u7ec8\u653e\u5f03 GitHub Actions \u4e0e Fastlane \u4e0a\u4f20\u65b9\u6848\uff0c\u6539\u7528 Unity Cloud Build\uff08UCB\uff09\u8d1f\u8d23\u6784\u5efa\uff0c\u5e76\u901a\u8fc7 UCB Post-build Script \u8c03\u7528\u82f9\u679c\u5b98\u65b9\u4e0a\u4f20\u5de5\u5177\u5b8c\u6210 TestFlight \u4ea4\u4ed8\u3002\u540c\u65f6\u5229\u7528 UCB \u7684 Pre-Export \u548c Post-Export \u56de\u8c03\u81ea\u52a8\u89e3\u51b3 CFBundleVersion \u9012\u589e\u4ee5\u53ca Export Compliance\uff08\u51fa\u53e3\u5408\u89c4\u58f0\u660e\uff09\u95ee\u9898\uff0c\u5b9e\u73b0\u4e86\u4e00\u5957\u65e0\u9700\u957f\u671f Mac \u73af\u5883\u3001\u9002\u7528\u4e8e Unity Personal \u7528\u6237\u7684\u81ea\u52a8\u5316\u53d1\u5e03\u6d41\u7a0b\u3002<\/p>\n<p>\u672c\u6587\u8bb0\u5f55\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u7684\u51e0\u4e2a\u5173\u952e\u5751\u70b9\u53ca\u6700\u7ec8\u89e3\u51b3\u65b9\u6848\uff0c\u5e0c\u671b\u80fd\u5e2e\u52a9\u540e\u6765\u8005\u5c11\u8d70\u4e00\u4e9b\u5f2f\u8def\u3002<\/p>\n","protected":false},"author":1,"featured_media":43,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"[{\"content\":\"<a href=\\\"https:\/\/docs.unity3d.com\/6000.4\/Documentation\/Manual\/ManualActivationGuide.html\\\">Unity - Manual: Introduction to manual license activation<\/a>\",\"id\":\"b13abaaf-aae6-4b1e-9e7f-4be1deb78b95\"},{\"content\":\"<a href=\\\"https:\/\/discussions.unity.com\/t\/unity-no-longer-supports-manual-activation-of-personal-licenses\/926760\/2\\\">Unity no longer supports manual activation of Personal licenses - Unity Engine - Unity Discussions<\/a>\",\"id\":\"0f4a511a-a247-4275-b47f-39101b45726b\"},{\"content\":\"<a href=\\\"https:\/\/docs.unity.com\/zh-cn\/build-automation\/advanced-build-configuration\/run-custom-scripts-during-the-build-process\\\">https:\/\/docs.unity.com\/zh-cn\/build-automation\/advanced-build-configuration\/run-custom-scripts-during-the-build-process<\/a>\",\"id\":\"a84719f1-67cf-48ac-825b-82e88065c30f\"}]"},"categories":[5],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unity"],"_links":{"self":[{"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":12,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/47"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=\/wp\/v2\/media\/43"}],"wp:attachment":[{"href":"https:\/\/blog.forgo.work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.forgo.work\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}