A synchronization method and terminal for an ios dependent library
A technology for synchronizing terminals and synchronizing machines, applied in the computer field, can solve the problems of reducing the success rate of iOS application construction, increasing the construction time and time consuming of iOS applications, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Please refer to figure 1 and image 3 Shown, embodiment one of the present invention is:
[0050] A method for synchronizing an iOS dependent library, comprising the following steps:
[0051] S1. Formulate a whitelist of dependent components required to build an iOS application, the whitelist including dependent components and versions of dependent components;
[0052] S2. Synchronize dependent components from the external network environment to the internal network environment according to the white list;
[0053] S3. Judging whether the synchronization is successful and returning the synchronization judgment result;
[0054] S4. When building iOS applications, obtain dependent components from the intranet environment for Cocoapods installation and caching.
[0055] Specifically, S2 includes:
[0056] S201. Clone or update the index of the dependent component to the index library of the github platform in the external network environment according to the white list;...
Embodiment 2
[0061] Please refer to figure 2 and image 3 Shown, embodiment two of the present invention is:
[0062] A synchronous terminal 1 of an iOS dependent library, comprising a memory 2, a processor 3 and a computer program stored on the memory 2 and operable on the processor 3, when the processor 3 executes the computer program Implement the following steps:
[0063] S1. Formulate a whitelist of dependent components required to build an iOS application, the whitelist including dependent components and versions of dependent components;
[0064] S2. Synchronize dependent components from the external network environment to the internal network environment according to the white list.
[0065] S3. Judging whether the synchronization is successful and returning the synchronization judgment result;
[0066] S4. When building iOS applications, obtain dependent components from the intranet environment for Cocoapods installation and caching.
[0067] Specifically, S2 includes:
[00...
Embodiment 3
[0073] Please refer to image 3 Shown, embodiment three of the present invention is:
[0074] Apply the synchronization method of the above iOS dependent library to the actual scene:
[0075] Step 1. Build a whitelist as a judgment condition for synchronization: judge whether the dependent component exists in the whitelist, if not, add the dependent component and its version to the whitelist, and modify the dependent component if it exists Version;
[0076] Step 2, the synchronization service triggers Salt on the synchronization machine to start synchronization, and the synchronization machine includes master and minion;
[0077] Step 3. The first step of synchronization: determine whether the index of the dependent component exists on the synchronization machine. If it does not exist, clone the index of the dependent component to the index library of the github platform in the external network environment according to the whitelist. If it exists, according to the whitelist ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


