From 05df0dcb7d28f3f37e863d7e8f1a7334723faee3 Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 19 Nov 2025 08:39:28 +0900 Subject: [PATCH] fix --- my-blog/content/posts/2025-11-18-aicard.md | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/my-blog/content/posts/2025-11-18-aicard.md b/my-blog/content/posts/2025-11-18-aicard.md index 05e2008..44d285f 100644 --- a/my-blog/content/posts/2025-11-18-aicard.md +++ b/my-blog/content/posts/2025-11-18-aicard.md @@ -33,6 +33,38 @@ draft: false + +### build + +```sh +nvm use 24 +npm i + +npx expo prebuild --clean + +# CocoaPodsのPATH問題を解決 +# echo 'export PATH="/opt/homebrew/lib/ruby/gems/3.4.0/bin:$PATH"' >> ~/.zshrc;source ~/.zshrc +cd ios;pod install;cd .. + +open ios/Aicard.xcodeproj +# - Signing & Capabilities タブを開く +# - Team idを指定(Apple Developer アカウント) +# - Xcodeは開いたまま次へ + +npx expo run:ios --device --configuration Release + +# apple store用の.xcarchiveを作ります。 +xcodebuild -workspace ios/Aicard.xcworkspace \ + -scheme Aicard \ + -configuration Release \ + -archivePath build/Aicard.xcarchive \ + -allowProvisioningUpdates \ + archive +open ./build/Aicard.xcarchive +# Distribute App ボタンをクリック +# App Store Connect を選択 +``` + ### atproto oauth 1. PKCE生成 → PAR → Authorization → Callback