git clone https://github.com/ScaleYourGenius/he-app.git
.env at the root of your project folder. It should look like this:VITE_SUPABASE_URL=your-url
VITE_SUPABASE_ANON_KEY=your-key
brew, and then node:
brew install nodenpm install
npm run build
npm run dev
Download Xcode from the Apple App Store
xcode-select --install
brew in the earlier steps):
brew install cocoapods
npm i @capacitor/core
npm i -D @capacitor/cli
npm install @capacitor/ios
npx cap init
npx cap add ios
capacitor.config.ts file with your actual project information:
appId: something like com.your-organization.app-nameappName: the display name for your app# first, build your project
npm run build
# sync your project to capacitor
npx cap sync
# finally, open the simulator!
npx cap run ios
npx cap open ios
In Xcode, go to Product > Destination and select your device (might need to plug it into your computer, and/or enable development mode on your device)
Click the “play” button to build & send to your phone
npx cap open ios
In Xcode, select to Product > Archive
You’ll be prompted with instructions for submitting to the App Store. At this step, you may also get some errors for configuration stuff (like signing in to yoru Apple developer account, making sure you have an app icon, etc)