dar-alatta / docs/build_ios.md
Build app for iOS
Dar Al Atta's application and website
Build app for iOS
This is a guide on how to build the iOS version of the app for production. It is based on this guide:
Commands
Run the following commands to build the iOS version:
1. Install dependecies
Assuming you are on the root of the repo, start from here:
cd ./client
rm -r ./node_modules
rm -r ./ios
pnpm install
And add EXPO_PUBLIC_API_URL=<api base url> to .env file.
2. Generate ios build directory
First generate the ios directory by running the application directly into the attached device:
npx expo run:ios --device
Then (needed?):
npx expo prebuild --clean
3. Open iOS project in xcode
xed ios
4. Configure the project
Follow the steps in: https://docs.expo.dev/guides/local-app-production/#open-ios-workspace-in-xcode