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