Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2021-12-28
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Every time the current iOS application is built, the dependent components not cached by Cocoapods or the version of a certain dependent component must be sequentially checked and indexed on the external network, downloaded the source code of the dependent component, and installed local Cocoapods. Such repeated external network IO operations are time-consuming, increasing the construction time of iOS applications, and the stability is not high, which reduces the success rate of building iOS applications

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A synchronization method and terminal for an ios dependent library
  • A synchronization method and terminal for an ios dependent library
  • A synchronization method and terminal for an ios dependent library

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a synchronization method and terminal of an iOS dependent library. By formulating a white list of dependent components required to build an iOS application, the synchronization scope of the dependent components is controlled, and the dependent components are synchronized from the external network environment to the internal network according to the white list. Environment, when building iOS applications, you can directly obtain dependent components from the intranet environment for Cocoapods installation and caching, and when building iOS applications, you can quickly and stably obtain dependent components for build release.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an iOS dependent library synchronization method and a terminal. Background technique [0002] With the expansion of the company's scale and the development of business, iOS applications will use multiple external dependent components or multiple versions of a certain dependent component. Every time the current iOS application is built, the dependent components not cached by Cocoapods or the version of a certain dependent component must be sequentially checked and indexed on the external network, downloaded the source code of the dependent component, and installed local Cocoapods. Such repeated external network IO operations are time-consuming, increasing the build time of iOS applications, and the stability is not high, which reduces the success rate of building iOS applications. Contents of the invention [0003] The technical problem to be solved by the present inv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/61G06F21/12
CPCG06F8/61G06F21/12
Inventor 刘德建兰章明吴仁海杨洋颜志炜郭玉湖
Owner FUJIAN TIANQUAN EDUCATION TECH LTD