How to build applications » History » Version 2
Olivier Bitsch, 11/19/2021 12:10 PM
1 | 1 | Olivier Bitsch | # How to build applications |
---|---|---|---|
2 | |||
3 | This is a comprehensive guide to build mobile application on IOS and Android. |
||
4 | |||
5 | ## Requirements |
||
6 | |||
7 | * npm >= 14 |
||
8 | |||
9 | ## Update version |
||
10 | |||
11 | We asume you already cloned the project. Almost all command steps are embedded into Makefile. You must update "config.xml" (for builder) and "config.yaml" in root of the project. Ensure to create version and release. |
||
12 | |||
13 | * 1.5.7 > 1.6.8 (version 1.6, release 8). |
||
14 | |||
15 | 2 | Olivier Bitsch | > Building for Android automatically updates `android/app/build.gradle` file. You must update version into Xcode for IOS !! |
16 | 1 | Olivier Bitsch | |
17 | Commit and push the both files |
||
18 | |||
19 | 2 | Olivier Bitsch | # Android |
20 | |||
21 | 1 | Olivier Bitsch | ## Manually Build Android |
22 | |||
23 | Once version updated, you can manually build with the both commands. |
||
24 | |||
25 | ~~~ |
||
26 | make clean |
||
27 | make android-prod |
||
28 | ~~~ |
||
29 | |||
30 | ## Manually Sign Android |
||
31 | |||
32 | ~~~ |
||
33 | make sign-android |
||
34 | ~~~ |
||
35 | |||
36 | 2 | Olivier Bitsch | # IOS |
37 | |||
38 | 1 | Olivier Bitsch | ## Manually Build IOS |
39 | 2 | Olivier Bitsch | |
40 | ~~~ |
||
41 | make clean |
||
42 | make ios-xcode |
||
43 | ~~~ |
||
44 | |||
45 | ## Open project into Xcode |
||
46 | |||
47 | ~~~ |
||
48 | make open-xcode |
||
49 | ~~~ |
||
50 | |||
51 | > Don't forgot to update version and assign signing team. |