1, the preface

As for the method of iOS App installation, I believe that friends familiar with iOS know, if it is a jailbroken device, just do it. However, in reality, most users are small white, will not go to prison break, security is one aspect. Therefore, under normal circumstances, the AppStore is a dominant, enterprise account can play the situation, this is also the excellent place of Apple! Today is to talk about the new gameplay ~

2. Type of the account certificate

Account type The price To the AppStore? Number of installation Settings supported The application requirements
Personal account The $99 can 100 unlimited
The company account The $99 can 100 DUNS code
Corporate account The $299 Can not be unlimited DUNS code
Education account $0 can 100 Education institutions

From this table, we know that under normal circumstances, if the user installs an App, only the enterprise account can be used, and the enterprise account was originally intended to be used by the App that only circulates within the enterprise, but now it has been developed to install the App through non-Appstore channel! Grey production and major third-party channels xx installed XX assistant. Of course, this is not today’s topic, later will have the opportunity to slowly talk ~

3. New installation mode

According to the above table, except for enterprise accounts, other types of accounts can also be installed on the device, with two disadvantages:

  • Add the UDID to the certificate first
  • Only 100 devices can be added in a year and cannot be restored

Based on these two points, under normal circumstances, no one would think of using such a method to provide the installation of App, but now the situation is not the same, Apple today’s audit has been very strict, basically can not pass the audit, on the other hand, the enterprise account, was banned by Apple and difficult to apply, has been 150,000 yuan can not buy!

Now, this is finally the new way to install! Then it is necessary to solve the two shortcomings mentioned above, UDID acquisition, if ordinary users to obtain, and then submit, add certificates, at ,,,, this process is too long!! So, there is a solution! However, there is no solution to the 100 device limit, only n developer accounts can be prepared!!

Principle:

Using the web page, the user takes the UDID of the iOS device, adds your UDID to their certificate, and uses the new certificate to re-sign the original IPA package. At this point, your UDID is in the certificate of the IPA package, and your iOS device can download the IPA package

4. Obtain the UDID

A Unique Device Identifier (UDID) is a Unique identification number for an iOS Device. Each iOS Device has a Unique code. The UDID is also a random UUID that is written to the hardware or memory of the iOS device during the mass production of the device, so it becomes a fixed and completely unchangeable identifier that distinguishes each unique iOS device, including iPhones, iPads, and iPod Touches.

MDM

IOS supports enterprise-level Mobile Device Management (MDM), which enables enterprises to conveniently manage Mobile devices such as iphones and ipads. The specific practice is to install Profiles in the system to achieve various functions, such as device management, device security, device information acquisition, device configuration, backup and recovery, and many specific functions can be implemented according to different application scenarios.

Obtaining the UDID of the iOS device in Safari

Apple allows developers to obtain the UDID(among other parameters) of an iOS device through an operation between the device and the Web server. Here’s a brief overview: 1. Create a.mobileconfig description file in XML format on your Web server. 2, the user must complete all operations through a click operation. 3. The data required by the server, such as the UDID, must be configured in the. Mobileconfig description file and the URL for the server to receive the data. 4. When the user device completes the data of the mobile phone, the prompt is returned to the client user;

The specific process can be referred to the article:

Get the iOS device UDID(unique device Identifier) in Safari

Specific background development code can be referred to:

Shaojiankui/ios-udid -Safari: ios-udid -Safari, (cannot be in Appstore!!) Use Safari and mobileconfig to get the iOS device real UDID

Add a UDID to a certificate

  • Fastlane/Spaceship at master · Fastlane/Fastlane

TODO

IPA Packet re-signature

  • Fastlane/Sigh at Master · Fastlane/Fastlane

TODO

Install the IPA package from Safari

  • atelierdumobile/appdeploy: 🚀 AppDeploy is the fastest way to get info on your mobile app & deploy it OTA without specific server configuration

TODO

conclusion

In fact, this as an innovative way to install the App, do not switch! Enterprise certificates are incomparable, and do not require the user to go to Settings to click on the certificate! Completing the entire installation process in Safari is a significant step, but what about the future? Looking forward to it!

  • 2019.05.26 update Because a bit busy before part of the article did not give a solution, the blogger wanted to continue to write found comrade has been completed, the signature – principle/mechanism/technical details – completely resolved – the nuggets, so, this article would not be in repeat given scheme (of course, you can according to realize the need to customize their own signature flow, In the future have the opportunity to do this piece to share with you), everyone have what don’t understand, discussion area together to communicate ~

reference

  • Configuration Profile Examples
  • Shaojiankui/ios-udid -Safari: ios-udid -Safari, (cannot be in Appstore!!) Use Safari and mobileconfig to get the iOS device real UDID
  • Obtain the UDID(unique device identifier) – FengHongSeXiaoXiang’s blog – CSDN blog of the iOS device in Safari
  • Get the iOS device UDID(unique device Identifier) in Safari
  • Super signature – Principles/mechanics/technical details – Complete parsing – Nuggets
  • Fastlane/Spaceship at master · Fastlane/Fastlane
  • Fastlane/Sigh at Master · Fastlane/Fastlane
  • atelierdumobile/appdeploy: 🚀 AppDeploy is the fastest way to get info on your mobile app & deploy it OTA without specific server configuration
  • Dandelion | step quickly obtain the iOS device UDID
  • Dandelion – Super signature


  • If you have any questions, please join us in the comments!
  • If there is an incorrect place, welcome to guide!