1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CreateExpoStackで1分以内にiOSアプリをビルドしてみた!

Posted at

やったこと

先日の記事で、スクラッチから作ったExpoのアプリを、CreateExpoStackを使ってさらに爆速でビルドしてみた!🚅 💨
※ ReactNative v0.76以降の新アーキテクチャ対応済!!✨

kiichi.png

9115.png

前提

  1. MacOS 15.2 (Sequoia)
  2. VS Code
  3. Homebrew
  4. 前回の記事の①,③(Xcode/bunのインストール)が完了している

手順

1. プロジェクトの作成(終)

Create Expo Stackという、面倒(それでも簡単だけど!)なExpoプロジェクトの初期セットアップを、ワンラインで完結させてくれる神ツール🎉!

$ bun create expo-stack {プロジェクト名} --expo-router --nativewind --supabase --bun

これだけで、nativewind・supabaseなど、Expoで必要なパッケージが入っている状態になってる!

image.png

🎉 おめでとうございます!🎊

2. ReactNativeの新アーキテクチャに対応させる

app.jsonの1レイヤー目に"newArchEnabled": trueを挿入する。

これで、確実にReactNative v0.76以降の新アーキテクチャ(詳細)を使えるようになる!

{
  "expo": {
    "name": "expo-stack-poc",
    "slug": "expo-stack-poc",
    "version": "1.0.0",

    "newArchEnabled": true,
    "scheme": "expo-stack-poc",
    "~~~~": "~~~~"
  }
}

studio CLOTOについて

私たち studio CLOTO は、【21世紀を「学び」で創る】ためにGROWTHEUMなどのサービス開発を進める駆け出しスタートアップです!

WebXR・ReactNativeなどの開発情報を今後も公開していく予定なので、ぜひフォローしてください!

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?