CN109783129A - Applied program processing method, device, computer equipment and storage medium - Google Patents

Applied program processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109783129A
CN109783129A CN201811537433.5A CN201811537433A CN109783129A CN 109783129 A CN109783129 A CN 109783129A CN 201811537433 A CN201811537433 A CN 201811537433A CN 109783129 A CN109783129 A CN 109783129A
Authority
CN
China
Prior art keywords
file
configuration
packaged
application program
xcode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811537433.5A
Other languages
Chinese (zh)
Inventor
陈乐辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811537433.5A priority Critical patent/CN109783129A/en
Publication of CN109783129A publication Critical patent/CN109783129A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of applied program processing method, device, computer equipment and storage medium, can effectively improve the packing stability and packaging efficiency of ios application program.Method part includes: the packing request for receiving user's triggering, described to be packaged the packetization types that request includes ios application program;The corresponding preset configuration file of the packetization types is obtained, the preset configuration file includes configuration parameter file, certificate file and description file;According to the xcode configuration information of ios application program described in the configuration parameter file, certificate file and description file configuration;It is compiled and is packaged according to source code of the xcode configuration information to the ios application program, to obtain packaging file.

Description

Applied program processing method, device, computer equipment and storage medium
Technical field
This application involves exploitation field of auxiliary more particularly to a kind of applied program processing method, device, computer equipment and Storage medium.
Background technique
Xcode is the Integrated Development Tool (IDE) operated on operating system Mac OS X, is developed by Apple Inc. Xcode is the most quick way for developing macOS and ios application program.The ios application journey developed using Xcode Sequence need to be published to corresponding distribution platform, such as apple store (applying distribution platform), use could be downloaded by user, Wherein, the ios application program developed using xcode need to be packaged into the packaging file that can upload to platform, traditionally, When being packaged to application program, required ios application program when need to be packaged by artificially modifying and checking application program Information in the configuration file of xcode, such as be packaged certificate, description file etc., and structure is complicated for xcode configuration file, configuration Information is various in file, comparatively laborious by way of artificially modifying and checking, and the time for getting configuration information is uncontrollable, obtains It takes the efficiency of configuration information lower, causes to be packaged stability and packaging efficiency is low.
Summary of the invention
The application provides a kind of applied program processing method, device, computer equipment and storage medium, can effectively mention The packing stability and packaging efficiency of high ios application program.
A kind of applied program processing method, comprising:
The packing request for receiving user's triggering, is packaged the packetization types that request includes ios application program;
The corresponding preset configuration file of packetization types is obtained, preset configuration file includes configuration parameter file, certificate file With description file;
According to configuration parameter file, certificate file and the xcode configuration information for describing file configuration ios application program;
It is compiled and is packaged according to source code of the xcode configuration information to ios application program, to obtain packaging file.
A kind of application processing apparatus, comprising:
Receiving module is packaged the packing class that request includes ios application program for receiving the packing request of user's triggering Type;
Module is obtained, for obtaining the corresponding preset configuration file of the received packetization types of receiving module, preset configuration text Part includes configuration parameter file, certificate file and description file;
Configuration module, configuration parameter file, certificate file and description file configuration ios for being obtained according to module is obtained The xcode configuration information of application program;
Packetization module, for being carried out according to source code of the xcode configuration information to ios application program for configuration module configuration It compiles and is packaged, to obtain packaging file.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize above-mentioned applied program processing method when executing the computer program Step.A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the computer The step of above-mentioned applied program processing method is realized when program is executed by processor.
In scheme provided by above-mentioned applied program processing method, device, computer equipment and storage medium, acquisition is utilized Include configuration parameter file, certificate file with description file preset configuration file complete ios application program it is corresponding Xcode configuration, that is, the relevant configuration of the corresponding xcode of ios application program can configure completion by preset configuration file, It is not necessary that by way of artificially modifying and checking, the time for getting configuration information is controllable, the efficiency for obtaining configuration information is higher, The packing stability and packaging efficiency of ios application program can be effectively improved.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below by institute in the description to the embodiment of the present application Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is applied program processing method one embodiment flow diagram in the application;
Fig. 2 is another embodiment flow diagram of applied program processing method in the application;
Fig. 3 is another embodiment flow diagram of applied program processing method in the application;
Fig. 4 is another embodiment flow diagram of applied program processing method in the application;
Fig. 5 is another embodiment flow diagram of applied program processing method in the application;
Fig. 6 is another embodiment flow diagram of applied program processing method in the application;
Fig. 7 is application processing apparatus one embodiment structural schematic diagram in the application;
Fig. 8 is application processing apparatus one embodiment structural schematic diagram in the application;
Fig. 9 is one embodiment structural schematic diagram of computer equipment in one embodiment of the application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
Applied program processing method provided by the present application, is executed by application processing apparatus, wherein application program processing Device can be used as independent executive device, or be integrated in computer equipment to realize above-mentioned applied program processing method, calculate Machine equipment includes but is not limited to the development equipment that various personal computers, laptop etc. have program capability, is not done here It limits.The application applied program processing method specifically includes that the packing request for receiving user's triggering, is packaged request and answers including ios With the packetization types of program;Obtain the corresponding preset configuration file of packetization types, preset configuration file include configuration parameter file, Certificate file and description file;According to configuration parameter file, certificate file and the xcode for describing file configuration ios application program Configuration information;It is compiled and is packaged according to source code of the xcode configuration information to ios application program, to obtain packing text Part.As can be seen from the above technical solutions, compared with traditional scheme, the application using acquisition include configuration parameter file, Certificate file xcode configuration corresponding with the preset configuration file completion ios application program of description file, that is, ios application The relevant configuration of the corresponding xcode of program can configure completion by preset configuration file, without by artificially modifying and checking Mode, the time for getting configuration information is controllable, and the efficiency for obtaining configuration information is higher, can effectively improve ios application The packing stability and packaging efficiency of program.
As shown in Figure 1, the applied program processing method in application is described in detail below, include the following steps:
S10: the packing request of user's triggering is received, the packetization types that request includes ios application program are packaged;
It should be understood that ios system is a kind of Mobile operating system, claimed with operating in the application program developed in ios system For ios application program, wherein above-mentioned ios application program includes but is not limited to game class application program, shopping class application journey Sequence, social category application program etc., specifically without limitation.In general, above-mentioned ios application program carries out on xcode developing instrument Exploitation, it will be appreciated that, xcode developing instrument is that one is the Integrated Development Environment operated on Apple Macintosh operating system (integrated development environment, IDE) is by what xcode developing instrument developed ios application program A kind of common exploitation by way of, wherein xcode developing instrument has unified user-interface design, and coding, test, debugging are all It is completed in a simple window, in the application, required ios application program can be encoded out in above-mentioned xcode tool, Exactly write out the source code of ios application program.
In this application, after the source code for encoding out ios application program, in order to enable the source code of ios application program It can be used, such as ios application program is tested or is distributed to application issued platform so that downloading uses, such as send out Cloth needs the source code by ios application program to convert to executable file, for ios at this time to apple store (appstore) For application program, that is to say need to be converted into ipa (iPhoneapplication) packet.Therefore, it is needing to ios application program When being packaged, what the application can receive user's triggering includes the packing request of packetization types.It should be noted that for For ios application program, either it is distributed to application issued platform or test uses, required configuration information is all Different, therefore, need to include packetization types in the packing request of user's triggering.
It is further to note that in practical applications, the function for the packing request for receiving user's triggering can be passed through void The quasi- form for being packaged plug-in unit is realized, is clicked or is touched the above-mentioned packing of above-mentioned virtual packing plug-in unit reception by user and request.
S20: obtaining the corresponding preset configuration file of packetization types, and preset configuration file includes configuration parameter file, certificate File and description file;
Wherein, receive include packetization types packing request after, obtain packetization types corresponding preset configuration text Part, wherein preset configuration file includes configuration parameter file, certificate file and description file.Separately below to above-mentioned file It explains one by one:
Preset configuration file is user for each exploration project, namely preparatory for the ios application program institute of exploitation The file of configuration, wherein for different packetization types, be provided with corresponding preset configuration file in advance.
Certificate file, namely refer to ios certificates file, wherein certificate file includes exploitation certificate (development certificate) file and production certificate (production certificate).Exploitation certificate is to use In the file for proving that the development equipment of exploitation ios application program has exploitation and prototype debugging ios application program.Each exploitation card Book is associated with developer's account, that is to say, that this exploitation certificate can only be used to develop under this developer's account Ios application program must need this developer so developing corresponding ios application program every time for developer's account number Account creation exploitation certificate.Production certificate is for proving that the development equipment of exploitation ios application program has publication ios application journey The permission of sequence.It should be noted that in a particular application, can be obtained on the developer website of Apple Inc. by developer's account Above-mentioned certificate file is taken, description is not developed in details here for specific acquisition process.
File is described, namely refers to provisioning profiles (description file), description file is for identifying certain A operation has whether the terminal device of ios system has the permission for installing some ios application program.Specifically, description file point File is described for development specification file (develop provisioning profile) and production, and produces description file and divides Temporarily to issue description file (distribution ad hoc) and formal publication description file (distribution appstore/distribution ad house).It should be noted that foregoing description file can also by association person's account and Certificate file is generated from the developer website of Apple Inc. and is obtained, and detailed process does not also repeat one by one here.
Configuration parameter file refers to developer's account, item identification number (bundle ID), the version of ios application program The configuration information or ginseng that number (version) etc. to be used when being packaged using xcode developing instrument to ios application program Number, is not listed specifically one by one here.
It is appreciated that triggering the request of the packing comprising packetization types according to for the different demands of ios application program Afterwards, the corresponding preset configuration file of available packetization types, thus configuration information needed for obtaining packing ios application program. It should be noted that the packetization types in the application include publication type and test-types, wherein the compiling that publication type refers to is simultaneously The ipa packet needs generated after packing, which are uploaded to, to be used using on distribution platform (such as appstore) so that user downloads;And it surveys Examination type refers to that the corresponding ipa packet of ios application program is not required to provide user's downloading, and it is enterprising to be only uploaded to a certain test equipment Row test uses required ipa packet.For above-mentioned different packetization types, can xcode configuration information to ios application program into The corresponding configuration of row illustratively if packetization types are test-types, obtains the corresponding preset configuration file packet of test-types Configuration parameter file required for the certificate containing exploitation, development specification file, test, such as developer's account, item identifier (bundle Identifier, bundle ID) and the Item version number (version) of ios application program etc., specifically here not It describes one by one.Illustratively, if packetization types are publication type, obtaining the corresponding preset configuration file of publication type includes life Produce configuration parameter file required for certificate, production description file, test, such as developer's account, item identifier (bundle Identifier, bundle ID) and the Item version number (version) of ios application program etc., it does not also retouch one by one here specifically It states.
S30: according to configuration parameter file, certificate file and the xcode of file configuration ios application program is described with confidence Breath;
It is appreciated that obtaining the corresponding configuration parameter file of above-mentioned packetization types, certificate file and description text in step S30 After part, the xcode configuration information of configuration ios application program can be corresponded to, to complete to automatically configure.Reduce addition certificate text manually Part, description file etc. are thought to operate, and improve user experience.
S40: being compiled and be packaged according to source code of the xcode configuration information to ios application program, is packaged text to obtain Part.
It is appreciated that after configuring xcode configuration information, that is, environment is packaged to correlation and is carried out with postponing, it can root It is compiled and is packaged to obtain packaging file according to source code of the xcode configuration information to ios application program, that is to say generation The corresponding ipa packet of ios application program.
In one embodiment, as shown in Fig. 2, after step S40, namely according to the xcode configuration information to the ios The source code of application program is compiled and is packaged, and after obtaining packaging file, the method also includes following steps:
S50: it if packetization types are publication type, will be distributed to by the packaging file for compiling and being packaged acquisition using hair Cloth platform;
In this application, it is compiled and is packaged according to source code of the xcode configuration information to ios application program, if beating Packet type is publication type, then will be distributed to by the packaging file for compiling and being packaged generation using distribution platform.From here may be used To find out, in the present solution, can be according to user to the different demands of ios application program, for example, by ios application issued To appstore, xcode configuration information needed for automatically configuring above-mentioned publication demand is simultaneously packaged upload, improves the experience of user And packaging efficiency.
S60: flat by test is uploaded to by the packaging file for compiling and being packaged acquisition if packetization types are test-types Platform.
It has been observed that for above-mentioned different packetization types, can the xcode configuration information to ios application program correspond to Configuration therefore in this application, be compiled and be packaged according to source code of the xcode configuration information to ios application program, It is flat by test is distributed to by the packaging file for compiling and being packaged generation if the packetization types are test-types Platform, namely be uploaded to test platform, it can be seen, in the present solution, can according to user to ios application program not Same demand, for example, ios application program is uploaded to test platform, xcode needed for automatically configuring above-mentioned publication demand matches confidence Upload is ceased and be packaged, the experience and packaging efficiency of user are improved.
In one embodiment, as shown in figure 3, in step S30, namely according to the configuration parameter file, certificate file and The xcode configuration information for describing ios application program described in file configuration, specifically comprises the following steps:
S31: obtaining the corresponding configuration script file of packetization types, and configuration script file includes configuration flow;
In the present solution, being preset with the corresponding configuration script file of packetization types for each packetization types, it should be appreciated that match Setting script file is a kind of autoexec similar in operating system, different command in combination can be got up, and by true Fixed sequence automatically and continuously executes.Wherein, configuration script file includes configuration flow, that is to say, that configuration script file In by scripting language have specific configuration flow, the configuration flow be to the xcode configuration information of ios application program into The process of row configuration, so that the execution sequence according to above-mentioned configuration flow configures xcode configuration information, In the application, the corresponding configuration script file of packetization types, in particular to it is preset with for the corresponding configuration script of publication type File and the corresponding configuration script file of test-types, the configuration information of the configuration as required for above-mentioned different packetization types is not Together, therefore, in order to improve configuration success rate, different configuration script files is configured for different packetization types respectively, is improved The exploitativeness of scheme.
S32: executing configuration script file, according to configuration flow, configuration parameter file, certificate file and description file configuration The xcode configuration information of ios application program.
It has been observed that configuration script file is a kind of autoexec similar in operating system, it can be by different lives Order combines, and automatically and continuously executes by determining sequence.It therefore, can after having got above-mentioned configuration script file To execute above-mentioned configuration script file, with according to the configuration flow of configuration script file, configuration parameter file, certificate file and retouch State the xcode configuration information of file configuration ios application.Below with packetization types be publication type be enumerate simply example into Row explanation, it is assumed that the project name of ios application program is A;
Illustratively, the configuration flow of the corresponding configuration script file of publication type can be as follows shown in a-e:
A: the corresponding project A of ios application program is determined;
B: the files such as A.xcodeproj file, A.workspace and the A.plist of project A are obtained;
C: according to above-mentioned b step obtain sequence, successively modify A.xcodeproj file, A.workspace and The parameter of the files such as A.plist, wherein above-mentioned parameter is corresponding from configuration parameter file to be obtained, such as developer's account, project The Item version number (version) of identifier (bundle Identifier, bundle ID) and ios application program, it is specific this In not one by one expansion description.
D: addition publication certificate;
E: addition publication description file.
It should be noted that above-mentioned configuration flow is merely illustrative herein, specific process is not limited, as long as The configuration of the xcode configuration information of achievable ios application program, is also not described in detail.
In one embodiment, as shown in figure 4, in step S40, namely according to xcode configuration information to ios application program Source code is compiled and is packaged, and to obtain packaging file, specifically comprises the following steps:
S41, the corresponding packing script file of packetization types is obtained, being packaged script file includes to be packaged process;
In the present solution, being preset with the corresponding packing script file of packetization types for each packetization types, it should be appreciated that beat This document of binding foot is a kind of autoexec similar in operating system, different command in combination can be got up, and by true Fixed sequence automatically and continuously executes.Wherein, being packaged script file includes packing process, that is to say, that is packaged script file In by scripting language have it is specific be packaged process, which is according to xcode configuration information to ios application program The process that is packaged of source code so that according to the execution sequence and xcode configuration information of above-mentioned packing process The source code of ios application program is packaged, in this application, the corresponding packing script file of packetization types, including be directed to Issue the corresponding packing script file of type, the corresponding packing script file of test-types, by above-mentioned different packetization types institute Therefore difference in order to improve packing success rate, is configured for different packetization types different the packing process needed respectively Packing script file.
S42: executing and be packaged script file, according to being packaged process and xcode configuration information to the source code of ios application program It is compiled and is packaged, to obtain packaging file.
It has been observed that being packaged script file is a kind of autoexec similar in operating system, it can be by different lives Order combines, and automatically and continuously executes by determining sequence.It therefore, can after having got above-mentioned packing script file To execute above-mentioned packing script file, with the configuration flow and xcode configuration information according to packing script file to ios application journey The source code of sequence is compiled and is packaged.It is below that publication type is illustrated to enumerate a simply example with packetization types, Assuming that the project name of ios application program is A;Being packaged process can be as follows:
A1: after acquisition ios application item configures xcode configuration information, the corresponding all items of the ios application program The files such as mesh file, such as A.xcodeproj file, A.workspace and A.plist;
B1: the corresponding source code of above-mentioned all items file is converted into .xcarchive file;
C1: above-mentioned .xcarchive file is converted into packaging file namely ipa APMB package.
It should be noted that above-mentioned packing process is only exemplary explanation herein, do not retouch in detail one by one here specifically It states.
In one embodiment, it as shown in figure 5, in step S50, will also be sent out by compiling and being packaged the packaging file of generation Cloth specifically comprises the following steps: to distribution platform is applied
S51: it obtains publication type corresponding first and uploads script file, the first upload script file includes to spread on first Journey;
In the present solution, being preset with corresponding first to publication type uploads script file, it should be appreciated that first uploads script File is a kind of autoexec similar in operating system, different command in combination can be got up, and by the suitable of determination Sequence automatically and continuously executes.Wherein, the first upload script file includes the first upload process, that is to say, that first uploads foot Have in this document by scripting language and be specifically directed to publication type corresponding first and upload process, this is spreaded on first Journey, which refers to, to be uploaded to upload process using distribution platform by the packaging file for compiling and being packaged generation, so as to according to Packaging file is uploaded to using distribution platform by the first upload process.
S52: executing first and upload script file, will pass through the packing text for compiling and being packaged acquisition according to the first upload process Part is uploaded to using distribution platform.
It has been observed that first to upload script file be a kind of autoexec similar in operating system, it can will be different Command in combination get up, and automatically and continuously executed by determining sequence.Therefore, the first upload script file is being got Afterwards, the first upload script file can be executed, it will be by compiling simultaneously to upload the first upload process of script file according to first The packaging file generated is packaged to be uploaded to using distribution platform.It is spreaded it can be seen that being realized by way of script on first Journey, can reduce artificial operation, improve the convenience for uploading process, thus improve user experience and upper transfer efficiency.
In step S60, as shown in fig. 6, also it will be distributed to test platform by compiling and being packaged the packaging file of generation, Specifically comprise the following steps:
S61: test-types corresponding second are obtained and upload script file, the second upload script file includes to spread on second Journey;
In the present solution, uploading script file for test-types corresponding second, it should be appreciated that second, which uploads script file, is A kind of autoexec similar in operating system can get up different command in combination, and automatic by determining sequence It is consecutively carried out.Wherein, the second upload script file includes the second upload process, that is to say, that second uploads script file In by scripting language have specifically be directed to publication type it is corresponding second upload process, this second upload process be will Packaging file by compiling and being packaged generation is uploaded to the upload process of test platform, so that according to above-mentioned second It uploads process and packaging file is uploaded to test platform.
S62: executing second and upload script file, will pass through the packing text for compiling and being packaged acquisition according to the second upload process Part is uploaded to test platform.
It has been observed that second to upload script file be a kind of autoexec similar in operating system, it can will be different Command in combination get up, and automatically and continuously executed by determining sequence.Therefore, the second upload script file is being got Afterwards, the second upload script file can be executed, it will be by compiling simultaneously to upload the second upload process of script file according to first The packaging file generated is packaged to be uploaded in test platform.It can be seen that realize that second uploads process by way of script, it can Reduce artificial operation, improve the convenience for uploading process, thus improve user experience and upper transfer efficiency.
In one embodiment, configuration script file, packing script file and upload script file are to be compiled by ruby language The script file write.It should be understood that in a particular application, ruby foot can be used by the xcodeproj tool of xcode developing instrument This, above-mentioned configuration script file, packing script file and upload script file are the script file write by ruby language, are mentioned The realizability of high scheme.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
In one embodiment, a kind of application processing apparatus is provided, the application processing apparatus and above-described embodiment Middle applied program processing method corresponds.As shown in fig. 7, the application processing apparatus 70 includes receiving module 701, obtains Module 702, configuration module 703 and packetization module 704.Detailed description are as follows for each functional module:
Receiving module 701, for receiving the packing request of user's triggering, described be packaged requests to include ios application program Packetization types;
Module 702 is obtained, for obtaining the corresponding preset configuration text of the received packetization types of the receiving module 701 Part, the preset configuration file include configuration parameter file, certificate file and description file;
Configuration module 703, for according to it is described acquisition module 702 obtain the configuration parameter file, certificate file and The xcode configuration information of ios application program described in file configuration is described;
Packetization module 704, for being answered according to the xcode configuration information the ios for the configuration module 703 configuration It is compiled and is packaged with the source code of program, to obtain packaging file.
That is, the application processing apparatus in the application can realize applied program processing method, by the application ios The modules of application programmer execute, and mainly include the following steps: the packing request for receiving user's triggering, are packaged request packet Include the packetization types of ios application program;The corresponding preset configuration file of packetization types is obtained, preset configuration file includes configuration ginseng Number file, certificate file and description file;According to configuration parameter file, certificate file and description file configuration ios application program Xcode configuration information;It is compiled and is packaged according to source code of the xcode configuration information to ios application program.By the above skill Art scheme can be seen that compared with traditional scheme, in the scheme that the ios application programmer in the application is realized, using obtaining What is obtained includes that configuration parameter file, certificate file are corresponding with the preset configuration file completion ios application program of file is described Xcode configuration, that is, the relevant configuration of the corresponding xcode of ios application program can configure completion by preset configuration file, It is not necessary that by way of artificially modifying and checking, the time for getting configuration information is controllable, the efficiency for obtaining configuration information is higher, The packing stability and packaging efficiency of ios application program can be effectively improved.
In one embodiment, as shown in figure 8, the application processing apparatus further include:
Uploading module 705 will pass through the compiling and be packaged acquisition if being publication type for the packetization types The packaging file is uploaded to using distribution platform;If the packetization types are test-types, by the compiling and will beat The packaging file that packet obtains is uploaded to test platform.
In one embodiment, configuration module 703 is specifically used for:
The corresponding configuration script file of the packetization types is obtained, the configuration script file includes configuration flow;
The configuration script file is executed, according to the configuration flow, configuration parameter file, certificate file and description file Configure the xcode configuration information of the ios application.
In this application, it is compiled and is packaged according to source code of the xcode configuration information to ios application program, if beating Packet type is publication type, then will be distributed to by the packaging file for compiling and being packaged generation using distribution platform.From here may be used To find out, in the present solution, can be according to user to the different demands of ios application program, for example, by ios application issued To appstore, xcode configuration information needed for automatically configuring above-mentioned publication demand is simultaneously packaged upload, improves the experience of user And packaging efficiency.
In one embodiment, packetization module is specifically used for:
The corresponding packing script file of the packetization types is obtained, the packing script file includes to be packaged process;
The packing script file is executed, the ios is applied according to the packing process and the xcode configuration information The source code of program is compiled and is packaged, to obtain packaging file.
In one embodiment, the uploading module is used for the packaging file that will pass through the compiling and be packaged acquisition It is uploaded to using distribution platform, comprising:
The uploading module is specifically used for:
It obtains the publication type corresponding first and uploads script file, the first upload script file includes on first Spread journey;
It executes described first and uploads script file, the compiling will be passed through according to the first upload process and be packaged acquisition Packaging file be uploaded to it is described using distribution platform.
First upload script file is a kind of autoexec similar in operating system, can be by different order groups Altogether, and by determining sequence it automatically and continuously executes.It therefore, can after having got above-mentioned first upload script file Script file is uploaded to execute above-mentioned first, will be passed through with the first upload process according to the first upload script file and be compiled and beat The packaging file that packet generates is uploaded to using distribution platform.It can be seen that above-mentioned upload process is realized by way of script, it can Reduce artificial operation, improve the convenience for uploading process, thus improve user experience and upper transfer efficiency.
In one embodiment, the uploading module is used for the packaging file that will pass through the compiling and be packaged acquisition It is distributed to test platform, comprising:
The uploading module is specifically used for:
It obtains the test-types corresponding second and uploads script file, the second upload script file includes on second Spread journey;
It executes described second and uploads script file, the compiling will be passed through according to the second upload process and be packaged acquisition Packaging file be uploaded to the test platform.
Second upload script file is a kind of autoexec similar in operating system, can be by different order groups Altogether, and by determining sequence it automatically and continuously executes.It therefore, can after having got above-mentioned second upload script file Script file is uploaded to execute above-mentioned second, will be passed through with the second upload process according to the first upload script file and be compiled and beat The packaging file that packet generates is uploaded in test platform.It can be seen that realize that above-mentioned second uploads process by way of script, Can reduce artificial operation, improve the convenience for uploading process, thus improve user experience and upper transfer efficiency.
In one embodiment, the configuration script file, packing script file and the upload script file are to pass through The script file that ruby language is write.
Specific about application processing apparatus limits the limit that may refer to above for applied program processing method Fixed, details are not described herein.Modules in above-mentioned application processing apparatus can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 9.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is used to store the description file obtained, certificate file etc..The network interface of the computer equipment be used for External terminal passes through network connection communication.To realize a kind of application program processing side when the computer program is executed by processor Method.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
The packing request of user's triggering is received, it is described to be packaged the packetization types that request includes ios application program;
Obtain the corresponding preset configuration file of the packetization types, the preset configuration file include configuration parameter file, Certificate file and description file;
According to the xcode configuration of ios application program described in the configuration parameter file, certificate file and description file configuration Information;
It is compiled and is packaged according to source code of the xcode configuration information to the ios application program, to be beaten APMB package.As can be seen from the above technical solutions, compared with traditional scheme, in computer equipment provided by the present application, processor In the method realized when executing computer program, what it is using acquisition includes configuration parameter file, certificate file and description text The preset configuration file of part is completed the corresponding xcode of ios application program and is configured, that is, the corresponding xcode of ios application program Relevant configuration can configure completion by preset configuration file, without getting configuration by way of artificially modifying and checking The time of information is controllable, and the efficiency for obtaining configuration information is higher, can effectively improve ios application program packing stability and Packaging efficiency.
Need to illustrate is above-mentioned, the method realized when executing computer program about the processor in computer equipment, can Referring particularly to step corresponding to aforementioned applications program processing method, do not repeat specifically to repeat here.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
The packing request of user's triggering is received, it is described to be packaged the packetization types that request includes ios application program;
Obtain the corresponding preset configuration file of the packetization types, the preset configuration file include configuration parameter file, Certificate file and description file;
According to the xcode configuration of ios application program described in the configuration parameter file, certificate file and description file configuration Information;
It is compiled and is packaged according to source code of the xcode configuration information to the ios application program, to be beaten APMB package.
As can be seen from the above technical solutions, compared with traditional scheme, computer readable storage medium provided by the present application In, it stores in the scheme realized when the computer program of computer readable storage medium is executed by processor, utilizes acquisition Include configuration parameter file, certificate file with description file preset configuration file complete ios application program it is corresponding Xcode configuration, that is, the relevant configuration of the corresponding xcode of ios application program can configure completion by preset configuration file, It is not necessary that by way of artificially modifying and checking, the time for getting configuration information is controllable, the efficiency for obtaining configuration information is higher, The packing stability and packaging efficiency of ios application program can be effectively improved.
Need to illustrate is above-mentioned, the method realized when being executed by processor about computer program, can be referring particularly to aforementioned Step corresponding to applied program processing method, does not repeat specifically to repeat here.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of applied program processing method characterized by comprising
The packing request of user's triggering is received, it is described to be packaged the packetization types that request includes ios application program;
The corresponding preset configuration file of the packetization types is obtained, the preset configuration file includes configuration parameter file, certificate File and description file;
Match confidence according to the xcode of ios application program described in the configuration parameter file, certificate file and description file configuration Breath;
It is compiled and is packaged according to source code of the xcode configuration information to the ios application program, be packaged text to obtain Part.
2. applied program processing method as described in claim 1, which is characterized in that described according to the xcode configuration information The source code of the ios application program is compiled and is packaged, after obtaining packaging file, the method also includes:
If the packetization types are publication type, answered being uploaded to by the packaging file for compiling and being packaged acquisition Use distribution platform;
If the packetization types are test-types, survey will be uploaded to by the packaging file for compiling and being packaged acquisition Try platform.
3. applied program processing method as claimed in claim 2, which is characterized in that described by the compiling and to be packaged and obtain The packaging file obtained is uploaded to using distribution platform, comprising:
It obtains the publication type corresponding first and uploads script file, the first upload script file includes to spread on first Journey;
It executes described first and uploads script file, it will be by the institute compiled and be packaged acquisition according to the first upload process State packaging file be uploaded to it is described using distribution platform;
It is described to be distributed to test platform by the packaging file for compiling and being packaged acquisition, comprising:
It obtains the test-types corresponding second and uploads script file, the second upload script file includes to spread on second Journey;
It executes described second and uploads script file, the compiling will be passed through according to the second upload process and be packaged described in acquisition Packaging file is uploaded to the test platform.
4. applied program processing method as described in claim 1, which is characterized in that it is described according to the configuration parameter file, The xcode configuration information of ios application program described in certificate file and description file configuration, comprising:
The corresponding configuration script file of the packetization types is obtained, the configuration script file includes configuration flow;
The configuration script file is executed, according to the configuration flow, configuration parameter file, certificate file and description file configuration The xcode configuration information of the ios application program.
5. applied program processing method as described in claim 1, which is characterized in that described according to the xcode configuration information The source code of the ios application program is compiled and is packaged, to obtain packaging file, comprising:
The corresponding packing script file of the packetization types is obtained, the packing script file includes to be packaged process;
The packing script file is executed, according to the packing process and the xcode configuration information to the ios application program Source code be compiled and be packaged, to obtain the packaging file.
6. the applied program processing method as described in any one of claim 3-5, which is characterized in that the script file is logical Cross the script file that ruby language is write.
7. a kind of application processing apparatus characterized by comprising
Receiving module, it is described to be packaged the packing class that request includes ios application program for receiving the packing request of user's triggering Type;
Module is obtained, it is described pre- for obtaining the corresponding preset configuration file of the received packetization types of the receiving module If configuration file includes configuration parameter file, certificate file and description file;
Configuration module, the configuration parameter file, certificate file and description file for being obtained according to the acquisition module are matched Set the xcode configuration information of the ios application program;
Packetization module, for configuration module configuration according to the xcode configuration information to the source of the ios application program Code is compiled and is packaged, to obtain packaging file.
8. program processing apparatus the use as claimed in claim 7, which is characterized in that the application processing apparatus also wraps It includes:
Uploading module will be passed through the compiling and be packaged described in generation and beat if being publication type for the packetization types APMB package is uploaded to using distribution platform;If the packetization types are test-types, by the compiling and generation will be packaged The packaging file be uploaded to test platform.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The step of any one of 6 applied program processing method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realizing the applied program processing method as described in any one of claim 1 to 6 when the computer program is executed by processor Step.
CN201811537433.5A 2018-12-15 2018-12-15 Applied program processing method, device, computer equipment and storage medium Pending CN109783129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811537433.5A CN109783129A (en) 2018-12-15 2018-12-15 Applied program processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811537433.5A CN109783129A (en) 2018-12-15 2018-12-15 Applied program processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109783129A true CN109783129A (en) 2019-05-21

Family

ID=66497106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811537433.5A Pending CN109783129A (en) 2018-12-15 2018-12-15 Applied program processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109783129A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502241A (en) * 2019-08-23 2019-11-26 深圳前海环融联易信息科技服务有限公司 Intelligent contract online editing method, apparatus, computer equipment and storage medium
CN110851135A (en) * 2019-09-12 2020-02-28 中国平安财产保险股份有限公司 Automatic application program building and uploading method and device, computer equipment and storage medium
CN111209205A (en) * 2020-01-08 2020-05-29 北京字节跳动网络技术有限公司 Configuration method and device and electronic equipment
CN111240664A (en) * 2020-01-07 2020-06-05 京东数字科技控股有限公司 Data processing method and device, electronic equipment and storage medium
CN111459541A (en) * 2020-04-09 2020-07-28 武汉联影医疗科技有限公司 Application program packaging method and device, computer equipment and storage medium
CN111611008A (en) * 2020-05-22 2020-09-01 浪潮电子信息产业股份有限公司 Software code packaging and deploying method, device, equipment and storage medium
CN111949273A (en) * 2020-07-31 2020-11-17 深圳市珍爱云信息技术有限公司 File extraction method and device based on iOS system
CN112052036A (en) * 2020-09-07 2020-12-08 网易(杭州)网络有限公司 Application program management method and device, storage medium and computer equipment
CN112445513A (en) * 2019-08-29 2021-03-05 天津五八到家科技有限公司 Installation package processing method and device
CN112685048A (en) * 2021-01-05 2021-04-20 南方电网深圳数字电网研究院有限公司 Application program packaging method, electronic device and storage medium
CN112711426A (en) * 2019-10-24 2021-04-27 北京车和家信息技术有限公司 Embedded system installation package generation method and device and server
CN114692093A (en) * 2022-05-27 2022-07-01 荣耀终端有限公司 Application program installation method and electronic equipment

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502241A (en) * 2019-08-23 2019-11-26 深圳前海环融联易信息科技服务有限公司 Intelligent contract online editing method, apparatus, computer equipment and storage medium
CN112445513A (en) * 2019-08-29 2021-03-05 天津五八到家科技有限公司 Installation package processing method and device
CN110851135A (en) * 2019-09-12 2020-02-28 中国平安财产保险股份有限公司 Automatic application program building and uploading method and device, computer equipment and storage medium
CN112711426B (en) * 2019-10-24 2023-12-26 北京车和家信息技术有限公司 Embedded system installation package generation method, device and server
CN112711426A (en) * 2019-10-24 2021-04-27 北京车和家信息技术有限公司 Embedded system installation package generation method and device and server
CN111240664A (en) * 2020-01-07 2020-06-05 京东数字科技控股有限公司 Data processing method and device, electronic equipment and storage medium
CN111209205A (en) * 2020-01-08 2020-05-29 北京字节跳动网络技术有限公司 Configuration method and device and electronic equipment
CN111209205B (en) * 2020-01-08 2023-10-10 北京字节跳动网络技术有限公司 Configuration method, configuration device and electronic equipment
CN111459541A (en) * 2020-04-09 2020-07-28 武汉联影医疗科技有限公司 Application program packaging method and device, computer equipment and storage medium
CN111459541B (en) * 2020-04-09 2023-03-14 武汉联影医疗科技有限公司 Application program packaging method and device, computer equipment and storage medium
CN111611008A (en) * 2020-05-22 2020-09-01 浪潮电子信息产业股份有限公司 Software code packaging and deploying method, device, equipment and storage medium
CN111949273B (en) * 2020-07-31 2023-04-07 深圳市艾特云信息技术有限公司 File extraction method and device based on iOS system
CN111949273A (en) * 2020-07-31 2020-11-17 深圳市珍爱云信息技术有限公司 File extraction method and device based on iOS system
CN112052036A (en) * 2020-09-07 2020-12-08 网易(杭州)网络有限公司 Application program management method and device, storage medium and computer equipment
CN112685048A (en) * 2021-01-05 2021-04-20 南方电网深圳数字电网研究院有限公司 Application program packaging method, electronic device and storage medium
CN114692093A (en) * 2022-05-27 2022-07-01 荣耀终端有限公司 Application program installation method and electronic equipment

Similar Documents

Publication Publication Date Title
CN109783129A (en) Applied program processing method, device, computer equipment and storage medium
CN109032611A (en) Script dispositions method, device, computer equipment and storage medium
WO2016000623A1 (en) Method, apparatus and system for initializing intelligent terminal device
CN109670951B (en) Block chain intelligent contract debugging and publishing method and system
CN108469957A (en) Using packing method for uploading, device, computer equipment and storage medium
CN109542767B (en) Automatic testing method and device based on block chain, computer equipment and storage medium
CN107704386B (en) Unit testing method and device of business process, computer equipment and storage medium
CN109324799A (en) A kind of code compiling method, computer installation and computer readable storage medium
US20160224336A1 (en) Façade framework for ide
CN112256321A (en) Static library packaging method and device, computer equipment and storage medium
US20150220424A1 (en) Test double generation
CN102799437B (en) A kind of compilation script automatic generation method and automatically generating device
CN110515625A (en) Task construction method, device, equipment and computer readable storage medium
CN110221837A (en) Intelligent contract call method, device, equipment and storage medium
CN110659031A (en) Compiling method and device of application program, electronic equipment and storage medium
CN107122219A (en) The acquisition methods and device of installation file
CN109766261A (en) Coverage test method, device, computer equipment and storage medium
CN112711403A (en) Game development synchronization method and device, computer equipment and storage medium
CN112631600A (en) Software construction method and system based on Flutter
CN107977292A (en) The test method and device of SPI-NAND
CN111190584A (en) EHIS-DB system version release method and device, computer equipment and storage medium
CN105677560A (en) Testing method, device and system
CN113254054A (en) Intelligent contract one-stop development system and method
CN103176903B (en) The test method and equipment of MapReduce distributed system program
CN109496417A (en) Data test method, apparatus, equipment/terminal/server and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination