A few notes on building in iOS
Native functionality is done using capacitorjs. If new functionality is needed, locate the plugin and install it like npm install @capacitor/camera
, then import and use within the app.
Deploying to the app store
Mobile app builds must be packaged and uploaded to the app store for review to update. The app can only be packaged and uploaded using Xcode on macOS.
Below is the step by step process:
- Build the Nuxt app
- Follow the iOS steps in Builds
- If it’s a standard update, just run
npm run ios
- Open the app in xCode
- Shortcut:
npx cap open ios
- Shortcut:
- In xCode, bundle the app
Product > Archive
- Click ‘Distribute’, upload to the app store
- In
App Store Connect
, submit for review
Xcode Setup
A few things are needed for this to work:
Signing and Capabilities must be set correctly:
For now, make sure you aren’t building for iPad. If we are, then disregard this:
That’s it. Everything else should be already configured in the repo.