IMPORTANT: Follow this step after you have done all of the previous steps
First, you will need to install the cocoa pods. To do that, navigate to the ios folder and execute pod install
As a reference, look at this video. Watch until 4:25
Run the app on Simulator
Soon as you have installed your pods installed, you can run your app on the simulator.
To do that, navigate to the project root folder. The execute npm run ios
npm run ios
This should start the app on the simulator
As a reference, look at this video. Watch until the end.
As you can see in the video, I get an error the first time, then run the same command again, and all worked ok. If you run into a problem, run the command again. npm run ios. If you still get an error, send us a message of the error that you get in the console.
From now on, the deployment is like any other xCode - native iOS project. As said in the requirements, you will need your own iOS developer account.
Open the .xcworkspace file that is inside the ios folder. Then, in the Signing & Capabilities select your account. xCode will automatically make all the required certificates and IDs for you.
After this, you will need to create the App Store record in iTunes for this account.
Add a new app in App Store connect
In the App Store Connect dashboard, select My Apps.
Click on the + sign in the upper left-hand corner, then New App.
To create a new App Store Connect record, you’ll need these details: platform, app name, default language, bundle ID, and SKU. You can’t really change these details later, so be sure of what you enter.
Use keywords in your app name to optimize for discovery.
The bundle ID must be an exact match of the bundle identifier in your Xcode project Info.plist file (in the target’s General > Identity section).
The SKU is not visible to users and is up to you to set. It can be an identifier you use in your company or something else that is meaningful for you. Acceptable characters include letters, numbers, hyphens, periods, and underscores, and it must begin with a letter or number.
Before you can submit your app for review through App Store Connect, you need to upload the build through Xcode.
In Xcode, select Generic iOS Device as the deployment target.
Choose Product from the top menu and click on Archive.
The Xcode Organizer will launch, displaying any archives you’ve created in the past.
Make sure the current build is selected and click on Upload to App Store in the right-hand panel.
Select your credentials and click Choose.
In the next window that appears, click on Upload in the bottom right-hand corner.
A success message will appear when the upload has completed. Click Done.
Step 1 - Setting Generic iOS Device
After the app is upload to App Store connect, it may take ± 30 min apple to process the upload.
You will need to provide a good description of the app. Don't submit the app if you have only a demo restaurant. Apple may reject for that reason.
You will also need to make good screenshots of the app. In order to run the app on different simulators, look into this guide.