This is a working draft.
Make sure that you have the last changes from the remote branch.
From the project root run the following in the terminal:
yarn
npx react-native bundle --entry-file='index.ts' --bundle-output='./ios/Abqarino/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'
cd ios && npx pod install && cd ..
Using Xcode open the
*.xcworkspace
generated fileMake sure to sign in with the apple developer account, and that you have the
Push Notifications
Capability enabled, if not add it using the button+ Capability
In Xcode select your project from the
TARGETS
left side menu then navigate toBuild Phases
tab in the right section.Make sure that
Copy Bundle Resources
' attributes have all the necessary resources for the bundle to work, if not add them using the+
button.Before:
After:
Navigate to the
Images
folder and set theAppIcons
by clicking on each icon frame and select the respective size,Before:
After:
Now you can start a
Build
process based on the release settings you have set, or you could start aArchive
process to push toApp Store
for TestFlight or an Apple Review.To start
Archive
process:Select
Any iOS Device
from the Devices menuFrom the
Product
menu click onArchive
When the build finishes, select the last archive and click on
Distribute App
and follow the flow.
To start a Release
build:
Navigate to Edit Scheme
Make sure that the
Run
action has a build configuration withRelease
valueSelect an iOS simulator, then hit the Play button