在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):yulingtianxia/pbxprojHelper开源软件地址(OpenSource Url):https://github.com/yulingtianxia/pbxprojHelper开源编程语言(OpenSource Language):Swift 100.0%开源软件介绍(OpenSource Introduction):pbxprojHelperpbxprojHelper is a GUI tool developed with Cocoa and Swift 5 for parsing and changing Xcode projects configuration. You can also use LanguagesArticlesLet's Talk About project.pbxproj Installing pbxprojHelperGitHubYou can clone the source code of pbxprojHelper, then compile and run it by Xcode. You can also download pbxprojHelper.app and pbxproj tool with its latest Releases on GitHub. App StoreMac App Store link: (Only pbxprojHelper.app) https://itunes.apple.com/cn/app/pbxprojhelper/id1160801848 Swift package managerAdd QuickstartUse pbxprojHelper (Native Cocoa UI App)
Use pbxproj (Command Line Tool)You should move pbxproj to Here is the Usage:
Outline ViewThe outline view shows entire data of project.pbxproj file. You can expand an item if it's type is collection(dictionary or array). For example, the value for key You can copy the text in outline view by just a click on the text. If you want to copy the whole keypath from root node, double click it. FilterYou can filt the content of outline view by typing a string in the "Filter" Text Field. It's not case sensitive. Project File PathThere is a pull-down menu which shows five latest used file paths when you click the path of your project file. So you can choose your project files in common use quickly. JSON Configuration FileConfiguration RulesThe configuration file contains a list of rules. Here is an example of configuration:
The root object must be a dictionary with 3 key-value pairs. You can "insert", "remove" and "modify" values through their key paths in project.pbxproj file. There are two series of configuration rules in the newest configuration file: "forward" and "backward". They respectively corresponded to "Apply" and "Revert" Functions. InsertThe example above inserts 3 elements( RemoveThe example above removes a key-value pair whose key equals ModifyModify the value of keypath, so easy. Configuration GeneratorProgrammer is lazy. I can't stand wasting my time on writing json files, so I create the powerful tool called "JSON Configuration Generator": There are two ways to open the "Generator" window:
You can use it in an oversimplified and crude way. Just select two project files and json save path, then click the "Generate" button, and you will get a json file containing changes between modified and original project file. Conversely, you can use this json file when you want to apply these changes to certain project file again. Please take care of this json file. BackupsEach time you click "Apply" button on main window, pbxprojHelper will use original or last modified project file to create backup file with "backup" extension in "Documents" folder of sandbox first, and then apply changes on project file.
EncodingWhen generating project.pbxproj file with xml format, chinese characters will be translated to Unicode mathematical symbols. For example, LICENSEThese works are available under the GNU General Public License. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论