Skip to content
Snippets Groups Projects
Commit 10bed666 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

First working version on iOS

exit
parent 786ffbbb
No related branches found
No related tags found
1 merge request!1First working version on iOS
...@@ -196,6 +196,7 @@ https://developer.android.com/studio/publish#unknown-sources ...@@ -196,6 +196,7 @@ https://developer.android.com/studio/publish#unknown-sources
## Building a production version (signing etc). ## Building a production version (signing etc).
### Android
[Signing the app](https://cordova.apache.org/docs/en/latest/guide/platforms/android/#signing-an-app) [Signing the app](https://cordova.apache.org/docs/en/latest/guide/platforms/android/#signing-an-app)
For NIBIO, a signing key was originally created sometime in 2021, but it has been lost. After contacting Google Play Developer Support, we received instructions for how to generate a new key (example code): For NIBIO, a signing key was originally created sometime in 2021, but it has been lost. After contacting Google Play Developer Support, we received instructions for how to generate a new key (example code):
...@@ -211,4 +212,9 @@ We then extracted the PEM to send to Google (example code) ...@@ -211,4 +212,9 @@ We then extracted the PEM to send to Google (example code)
``` bash ``` bash
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
``` ```
\ No newline at end of file ### iOS
On iOS, do the regular `npm run build`, and then `cordova build ios`. You should then be ready to run the app in a simulator or a real device in XCode. Remember that in order to run it on a real device, you must sign it (see XCode screenshot below) with either your personal team account (for debug only) or a company account for distributing to App Store.
![Signing an app in XCode](./document/images/ios_signing.png "Signing an app in XCode")
document/images/ios_signing.png

246 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment