I am getting the error 'unable to install app' while installing the app on iOS 14. For other iOS versions 10, 11, 12 and 13 it is working fine. I am using the HTTPS URL for app installation. The app has built with Xcode 12.2. Please help.
Asked
Active
Viewed 108 times
1
-
Have you got any solution? Same issue on iOS 14.5.1. – manman May 20 '21 at 06:31
1 Answers
0
I faced an issue that is very familiar to yours. I build an HTTPS web server with a self-signed
certificate. I've been using OTA to distribute IPA, until iOS 14.5 and later there was an error when installing apps. After googling a few days, I tried the following, but none of them works for me:
- Check if the URL in the manifest.plist uses https.
- Check if the root certificate is trusted in Settings.
- Upgrade openssl version, Upgrade Apache version to support tls1.3.
Later, I saw an installation failed message in console.app. According to the error message, I know that the problem must be the certificate.
Finally, I solved my issue by recreating a version3(SAN) self-signed certificate.
My Apache version: Apache/2.4.47 (Unix)
. OpenSSL version: OpenSSL 1.1.1k
Here is the command:
openssl req -x509 -newkey rsa:2048 -sha256 -days 3650 -nodes \
-keyout example.key -out example.crt -subj "/CN=example.com" \
-addext "subjectAltName=DNS:example.com,DNS:www.example.net,IP:10.0.0.1"
Furthermore, there are lots of ways to create self-signed certificate, however, only this one line command works for OpenSSL ≥ 1.1.1.