Supercharge Your Innovation With Domain-Expert AI Agents!

Xcodebuild based method and system for packing variable number of project files

A project file and file technology, which is applied in the direction of program control device, electrical digital data processing, program loading/starting, etc., can solve the problems such as the inability to open the xcode project, the inability to open the xcode project, and the compilation error.

Active Publication Date: 2015-12-16
北京思特奇信息技术股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the serial number is incorrect, the xcode project will fail to open, compile errors, etc.
[0004] Although the general makefile technology can complete the packaging, it still cannot solve the problem that the xcode project cannot be opened

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
  • Xcodebuild based method and system for packing variable number of project files
  • Xcodebuild based method and system for packing variable number of project files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0042] Such as figure 1 As shown, a method of packaging a variable number of project files based on xcodebuild includes the following steps:

[0043] Step 1, generate the initial serial number of the file;

[0044] Step 2, generate the resource serial number, index serial number and .h file index serial number according to the initial serial number of the file;

[0045] Step 3, writing the correct position of the project configuration file through the resource serial number, the index serial number and the .h file index serial number and related information, so as to realize the modification of the project configuration file rules;

[0046] Step 4, according to the serial number of the generated file and the confi...

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 invention relates to an xcodebuild based method and system for packing a variable number of project files. The method comprises the following steps: generating a file initial serial number; generating a resource serial number, an index serial number and a .h file index serial number according to the file initial serial number; writing the resource serial number, the index serial number, the .h file index serial number and related information into correct positions in project configuration files, so as to modify project configuration file rules; and according to the generated file serial number and the configuration files with modified rules, compiling a variable number of files by using an xcode project. According to the method provided by the present invention, the serial numbers of the files are generated, and the serial numbers are written into the correct positions in the project configuration files, so as to modify the project configuration file rules; after dynamically adding the xcodebuild compiling option, ipa can be correctly packed, and even if errors or exceptions occur during packing, the xcode project can also be opened for modification, thereby achieving great convenience.

Description

technical field [0001] The invention relates to the technical field of engineering file processing, in particular to a method and system for packaging an indefinite number of engineering files based on xcodebuild. Background technique [0002] xcodebuild is a command for IOS to compile and package based on the xcode tool. When using this command, you need a correct project.pbxproj configuration file, which describes the file structure of the entire xcode project, such as the grouping and hierarchical relationship of files; it also describes the library files, resource files and . m-file. [0003] When adding files to the xcode project, project.pbxproj needs to make corresponding changes. In project.pbxproj, each file has its own unique serial number, and these serial numbers have their own generation rules. If the serial number is incorrect, the xcode project cannot be opened, compilation errors and other results will result. [0004] Although the general makefile technol...

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 Applications(China)
IPC IPC(8): G06F9/445G06F17/30
Inventor 白晓
Owner 北京思特奇信息技术股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More