IOS App dynamic packaging method and application

By using ConfigList.plist and Jenkins to modify the UI and configuration files in iOS App packaging, personalized customization and SaaS mode packaging are realized, which solves the problem that existing technology does not support personalized customization and modular packaging, and improves packaging efficiency. and reduced costs.

CN118567673APending Publication Date: 2024-08-30BAIC MOTOR CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410477778.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing iOS App packaging method does not support SaaS mode, personalized customization of UI, customization of main and secondary font colors, App name and version number, cannot upload IPA packages to self-built servers, and does not meet modular packaging requirements, resulting in many complicated tasks. Franchisee packaging and upgrade tasks require manual participation, which is inefficient.

Method used

By presetting configurable parameters in the ConfigList.plist file, using Jenkins to build packaging parameters, modifying the UI and configuration files, and generating personalized customized IPA packages, SaaS mode packaging is supported, automated tools replace manual participation, and uploading to self-built servers is supported. Or fir platform and implement modular packaging.

Benefits of technology

It realizes personalized customized iOS App packaging, reduces R&D and maintenance costs, improves work efficiency, increases packaging efficiency by 25 times, liberates productivity, and meets the modular packaging needs of enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567673A
    Figure CN118567673A
Patent Text Reader

Abstract

The invention relates to the technical field of computer software, and particularly discloses an iOS App dynamic packaging method and application, and the method comprises the following steps: presetting configurable parameters of each franchise App in a ConfigList.plist file; the method comprises the following steps: constructing packaging parameters of App of each franchiser by using Jenkins, and modifying corresponding parameters in a UI graph and a configuration file; quoting the corresponding parameters by using the main project file to obtain App codes of all franchise agents; packaging the App codes of each franchiser by using Jenkins to generate an IPA packet; hosting the IPA packet in a self-built server or a fir platform; and uploading the App codes and the IPA packets of all the franchisees to the SVN for filing. According to the method, different packaging parameters are combined to export each personalized and customized alliance IPA packet, the code and the main body function of each alliance App are the same, but the configurable parameters of the App and the main body function are different, different requirements for different alliance can be met only by one set of codes, and a large amount of productivity is liberated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software technology, and in particular to an iOS App dynamic packaging method and application. Background Art

[0002] At present, the packaging method for each franchisee APP that is customized has the following shortcomings:

[0003] 1) Only supports single packaging, not App SaaS packaging;

[0004] 2) Does not support customized App UI, including ICON, startup image, and dark mode adaptation UI;

[0005] 3) Does not support personalized customization of the primary and secondary tones of App fonts;

[0006] 4) Personalized app name and version number are not supported;

[0007] 5) It does not support uploading IPA packages to the company's self-built server for users to download;

[0008] 6) Modular packaging does not meet the company's business scenarios.

[0009] Based on this technical background, the present invention studies an iOS App dynamic packaging method and application. Summary of the invention

[0010] In view of the deficiencies in the prior art, the present invention proposes an iOS App dynamic packaging method and application. The method combines different packaging parameters to export personalized customized IPA packages for each franchisee. The code and main functions of each franchisee App are the same, but their configurable parameters are different. That is, the iOS App is packaged using the SaaS model. Only one set of code is needed to produce installation packages for different operators, franchisees with different needs and different business characteristics. The complicated multi-franchise packaging and upgrading tasks are replaced by automated tools, without the need for R&D personnel to participate, thus liberating a large amount of productivity.

[0011] In order to achieve the above object, the first aspect of the present invention provides an iOS App dynamic packaging method, comprising:

[0012] Preset the configurable parameters of each franchisee app in the ConfigList.plist file;

[0013] Use Jenkins to build the packaging parameters of each franchisee's App and modify the corresponding parameters in the UI diagram and configuration file;

[0014] Use the main project file to reference the corresponding parameters to obtain the App code of each franchisee;

[0015] Use Jenkins to package the App codes of each franchisee and generate an IPA package;

[0016] Host the IPA package on a self-built server or fir platform;

[0017] Upload each franchisee's App code and the IPA package to SVN for archiving.

[0018] A second aspect of the present invention provides an application of the iOS App dynamic packaging platform in the above method.

[0019] The technical effects of the present invention include:

[0020] (1) The iOS App dynamic packaging method proposed in the present invention combines different packaging parameters to export personalized IPA packages for each franchisee. The code and main functions of each franchisee App are the same, but their configurable parameters are different. That is, the iOS App is packaged using the SaaS model, and only one set of code is needed to produce installation packages for different operators, franchisees with different needs and different business characteristics. The complicated multi-franchise packaging and upgrading tasks are replaced by automated tools, without the need for R&D personnel to participate, thus liberating a large amount of productivity.

[0021] (2) The iOS App dynamic packaging method proposed in the present invention only needs to maintain the relevant configuration each time the version is upgraded and packaged, which solves the problem of version management and improves work efficiency by 90%, truly achieving the business operation goal of reducing costs and increasing efficiency.

[0022] (3) The iOS App dynamic packaging method proposed in the present invention supports personalized customization of App UI, including ICON, startup image and dark mode adaptation UI, supports personalized customization of App font tone, App name and version number, and supports uploading IPA packages and their installation information to the company's self-built server for users to download App, which meets the modular packaging of the company's franchisee business scenarios, improves packaging efficiency and reduces maintenance costs.

[0023] (4) The iOS App dynamic packaging method proposed in the present invention can package twin apps with the same code and main functions but different parameters such as name, UI, font color, third-party payment scheme, and Amap key through one main project. Only one main project code needs to be maintained to maintain all franchisee apps, including version upgrades, version releases, and version archiving of all franchisee apps, which greatly reduces the R&D and maintenance costs of the apps, and the packaging efficiency is nearly 25 times higher than that of traditional packaging methods.

[0024] (5) The iOS App dynamic packaging method proposed in the present invention supports uploading the IPA package to a third-party App hosting platform such as fir, and sending the download QR code to the DingTalk work group through webhook; it also supports uploading different IPA packages and their installation information to the company's self-built server for users to download through the link.

[0025] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.

[0027] Figure 1 This is a flow chart of the iOS App dynamic packaging method proposed by the present invention.

[0028] Figure 2 The figure is a flowchart of a specific implementation of the iOS App dynamic packaging method proposed by the present invention. DETAILED DESCRIPTION

[0029] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0030] In the present invention, unless otherwise specified, the directional words used, such as "upper and lower", generally refer to the upper and lower parts of the device in normal use, and "inside and outside" refer to the outline of the device. In addition, the terms "first, second, third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first, second, third" may explicitly or implicitly include one or more of the features. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0031] The present invention provides an iOS App dynamic packaging method, such as Figure 1 As shown, including:

[0032] Preset the configurable parameters of each franchisee app in the ConfigList.plist file;

[0033] Use Jenkins to build the packaging parameters of each franchisee's App and modify the corresponding parameters in the UI diagram and configuration file;

[0034] Use the main project file to reference the corresponding parameters to obtain the App code of each franchisee;

[0035] Use Jenkins to package the App codes of each franchisee and generate an IPA package;

[0036] Host the IPA package on a self-built server or fir platform;

[0037] Upload each franchisee's App code and IPA package to SVN for archiving.

[0038] In the present invention, by combining different packaging parameters, personalized IPA packages for each franchisee are exported. The code and main functions of each franchisee App are the same, but their configurable parameters are different. That is, the SaaS model is used to package iOS App, and only one set of code is needed to produce installation packages for different operators, franchisees with different needs and different business characteristics. The complicated multi-franchise packaging and upgrading tasks are replaced by automated tools, without the need for R&D personnel to participate, thus liberating a large amount of productivity.

[0039] According to the present invention, the configurable parameters include the background environment, the operator number, the Amap key, the primary and secondary color tones, and the franchisee App company name;

[0040] The configuration files include ConfigList.plist and Info.plist files.

[0041] The present invention supports personalized customization of App UI, including ICON, startup image and dark mode adaptation UI, supports personalized customization of App font tone, App name and version number, supports uploading IPA package and its installation information to the company's self-built server for users to download App, meets the modular packaging of the company's franchisee business scenarios, improves packaging efficiency and reduces maintenance costs.

[0042] According to the present invention, the configurable parameters of each franchisee App preset in the ConfigList.plist file include:

[0043] Create a ConfigList.plist file in the main project and preset the configurable parameters required by each franchisee App in the ConfigList.plist file;

[0044] After presetting the configurable parameters of each franchisee app in the ConfigList.plist file, it also includes:

[0045] Create UI folders and project folders for each franchisee's app locally;

[0046] Use the UI cutouts of each franchisee's app stored in the UI image folder to replace the UI images in the main project;

[0047] Use the project folder to store the final exported IPA package and the modified project code for subsequent archiving.

[0048] According to the present invention, the packaging parameters for building each franchisee App using Jenkins include:

[0049] Build the packaging parameters of each franchisee's app in the Jenkins packaging interface and download the main project file to the Jenkins local space;

[0050] Modify the corresponding parameters in the UI diagram and configuration file:

[0051] Use Jenkins combined with shell scripts to modify the UI diagram in the local project and the corresponding parameters in the ConfigList.plist and Info.plist files.

[0052] According to the present invention, using the main project file to reference corresponding parameters includes:

[0053] Use the main project file to reference the corresponding parameters in the ConfigList.plist and Info.plist files.

[0054] Preferably, using Jenkins to package each franchisee's App code to generate an IPA package includes:

[0055] Use Jenkins combined with Xcode packaging commands to package the App codes of each franchisee to generate an IPA package;

[0056] Copy the IPA package to the project folder.

[0057] In the present invention, through one main project, twin apps with the same code and main functions but different parameters such as name, UI, font color, third-party payment scheme, and Amap key can be packaged; only one main project code needs to be maintained to maintain all franchisee apps, including version upgrades, version releases, and version archiving of all franchisee apps, which greatly reduces the R&D and maintenance costs of the apps, and the packaging efficiency is nearly 25 times higher than that of traditional packaging methods.

[0058] Preferably, hosting the IPA package on a self-built server includes:

[0059] Use Jenkins combined with shell scripts to set the download information in the manifest.plist file;

[0060] Use the SVN command to upload the IPA package and manifest.plist to the server;

[0061] Users download the app through the link.

[0062] According to the present invention, hosting the IPA package on the fir platform includes:

[0063] Use Jenkins combined with shell+fir and cli+dingtalk to upload the IPA package to the fir platform;

[0064] The generated download QR code and other version information are published to the DingTalk work group through webhook.

[0065] In the present invention, it supports uploading the IPA package to a third-party App hosting platform such as fir, and sending the download QR code to the DingTalk work group through webhook; it also supports uploading different IPA packages and their installation information to the company's self-built server for users to download through the link.

[0066] According to the present invention, uploading each franchisee's App code and IPA package to SVN for archiving includes:

[0067] Use Jenkins combined with shell+SVN to upload each franchisee's App code and IPA package to SVN for archiving.

[0068] In the present invention, each time a version is upgraded and packaged, only the relevant configuration needs to be maintained, which solves the problem of version management, improves work efficiency by 90%, and truly achieves the business operation goal of reducing costs and increasing efficiency.

[0069] In the present invention, IPA is the installation package of iOS application, UI is the interface cutting diagram of App, Jenkins is a visual packaging platform, Shell is a command language, Xcode is an Apple software development tool, SVN is a version control system, ir is a third-party software hosting platform, Fir_cli, Fir is a command line tool used to manage software packages, Dingtalk is an intelligent mobile office platform, and Webhook is a lightweight event processing application.

[0070] The present invention will be described in more detail below through specific embodiments.

[0071] Example 1

[0072] like Figure 1 As shown, this embodiment provides an iOS App dynamic packaging method, and the specific steps include:

[0073] Step 1. Create a ConfigList.plist file in the main project. Preset the configurable parameters required by the franchisee in the file, such as: background environment, operator number, Amap key, primary and secondary color tones, franchisee company name, etc.

[0074] Step 2: Create two folders for each franchisee locally. One folder stores the franchisee's UI cutouts to replace the UI images in the main project. The other folder stores the final exported franchisee IPA package and modified project code for subsequent archiving.

[0075] Step 3: The user enters the packaging parameters of a franchisee in the Jenkins packaging interface, clicks "Build", and downloads the main project file to the Jenkins local space;

[0076] Step 4: Jenkins uses shell scripts to modify the UI diagram in the local project and the corresponding parameters in the ConfigList.plist and Info.plist files;

[0077] Step 5, the project file references the corresponding parameters in the ConfigList.plist and Info.plist files, and now the franchisee project entity is created;

[0078] Step 6: Jenkins uses the shell script to copy the project entity to the locally created folder used to store the franchisee's engineering code for subsequent archiving and management;

[0079] Step 7: Jenkins combines Xcode packaging commands to generate an IPA package and copy it to the local folder created to store the franchisee's IPA package for subsequent archiving management;

[0080] Step 8: When the user chooses to host the IPA on the company's self-built server before packaging, Jenkins will use the shell script to set the download information in the manifest.plist file, and use the SVN command to upload the IPA and manifest.plist to the server so that users can download the App through the link.

[0081] Step 9: When the user chooses to host the IPA on the fir platform before packaging, Jenkins will combine shell+fir_cli+dingtalk to upload the IPA package to the fir platform, and publish the generated download QR code and other version information to the DingTalk work group through webhook;

[0082] Step 10: Jenkins combines shell+SVN to upload the franchisee code and IPA package to SVN for archiving.

[0083] Table 1 shows the actual cost reduction and efficiency improvement data of a company’s franchisee business in 2019 by using the iOS App dynamic packaging method of this application.

[0084] Table 1 Actual cost reduction and efficiency improvement data of the iOS App dynamic packaging method in this application

[0085]

[0086] The iOS App dynamic packaging method in this embodiment, by combining different packaging parameters, exports personalized customized IPA packages for each franchisee. The code and main functions of each franchisee App are the same, but their configurable parameters are different. That is, the SaaS model is used to package iOS App, and only one set of code is needed to produce installation packages for different operators, franchisees with different needs and different business characteristics. The complicated multi-franchise packaging and upgrading tasks are replaced by automated tools, without the need for R&D personnel to participate, thus liberating a lot of productivity.

[0087] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A method for dynamic packaging of iOS App, characterized in that: include: Preset the configurable parameters of each franchisee app in the ConfigList.plist file; Use Jenkins to build the packaging parameters of each franchisee's App and modify the corresponding parameters in the UI diagram and configuration file; Use the main project file to reference the corresponding parameters to obtain the App code of each franchisee; Use Jenkins to package the App codes of each franchisee and generate an IPA package; Host the IPA package on a self-built server or fir platform; Upload each franchisee's App code and the IPA package to SVN for archiving.

2. The method according to claim 1, characterized in that The configurable parameters include background environment, operator number, Amap key, primary and secondary color tones, and franchisee App company name; The configuration files include ConfigList.plist and Info.plist files.

3. The method according to claim 1, characterized in that: The configurable parameters for each franchisee app that are preset in the ConfigList.plist file include: Create a ConfigList.plist file in the main project, and preset the configurable parameters required by each franchisee App in the ConfigList.plist file; After presetting the configurable parameters of each franchisee app in the ConfigList.plist file, it also includes: Create UI folders and project folders for each franchisee's app locally; Use the UI cutouts of each franchisee's App stored in the UI image folder to replace the UI images in the main project; The project folder is used to store the final exported IPA package and the modified project code for subsequent archiving and use.

4. The method according to claim 3, characterized in that The packaging parameters for building each franchisee app using Jenkins include: Build the packaging parameters of each franchisee's app in the Jenkins packaging interface and download the main project file to the Jenkins local space; Modify the corresponding parameters in the UI diagram and configuration file: Use Jenkins combined with shell scripts to modify the UI diagram in the local project and the corresponding parameters in the ConfigList.plist and Info.plist files.

5. The method according to claim 4, characterized in that Using the main project file to reference the corresponding parameters includes: Use the main project file to reference the corresponding parameters in the ConfigList.plist and Info.plist files.

6. The method according to claim 4, characterized in that Using Jenkins to package the App codes of each franchisee to generate an IPA package includes: Use Jenkins combined with Xcode packaging commands to package the App codes of each franchisee to generate an IPA package; Copy the IPA package into the project folder.

7. The method according to claim 1, characterized in that Hosting the IPA package on a self-built server includes: Use Jenkins combined with shell scripts to set the download information in the manifest.plist file; Use the SVN command to upload the IPA package and manifest.plist to the server; Users download the app through the link.

8. The method according to claim 1, characterized in that Hosting the IPA package on the fir platform includes: Use Jenkins combined with shell+fir and cli+dingtalk to upload the IPA package to the fir platform; The generated download QR code and other version information are published to the DingTalk work group through webhook.

9. The method according to claim 1, characterized in that: Uploading each franchisee's App code and the IPA package to SVN for archiving includes: Use Jenkins combined with shell+SVN to upload each franchisee's App code and the IPA package to SVN for archiving.

10. An application of the iOS App dynamic packaging platform according to any one of claims 1 to 9.