pbxprojHelper lets you create and modify Xcode projects.
Quickstart
Choose your Xcode project file by clicking Select button. Both .xcodeproj and .pbxproj file extensions are supported. The path of project file you selected will be displayed on the text field. The outline view shows data of project file.
Choose configuration file by clicking Choose JSON File. Configuration file contains changes you want to make to your project. You can create a configuration file with json format, or generate it using JSON Configuration Generator tool provided by pbxprojHelper. The outline view will refresh data after you choose a json file.
Clicking Apply button will write changes made by json configuration to project file you selected.
Revert button lets you revert your project file to latest version.
Outline View
The 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 objects is an dictionary which contains 34 key-value pairs. You can expand objects to view its content. For key-value pairs of dictionary, the 1st/2nd column means Key/Value. If the value is a collection(not String or Number.ect), the 2nd column shows a description of the collection; For elements of array, the 1st column means Element, but the 2nd column contains nothing.
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.
Filter
You can filt the content of outline view by typing a string in the Filter Text Field. It’s not case sensitive.
JSON Configuration File
Configuration Rules
The configuration file contains a list of rules. Here is an example of configuration:
{
"insert" : {
"objects.A45A665D1D98286400DBED04.children" : [
"a",
"b",
"c"
],
"classes" : {
"xixihaha": 5,
"aaaaa" : "养小鱼"
}
},
"remove" : {
"objects.A45A666D1D98286400DBED04.buildSettings" : [
"ALWAYS_SEARCH_USER_PATHS"
]
},
"modify" : {
"archiveVersion" : "2"
}
}
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.
Insert
The example above inserts 3 elements("a","b","c") into the children array. Note that the keypath "objects.A45A665D1D98286400DBED04.children" must be valid. The value of "children" should be an array and the value of "classes" should be a dictionary. In a word, the type of incremental data should be same with original data in project.pbxproj file.
Remove
The example above removes a key-value pair whose key equals "ALWAYS_SEARCH_USER_PATHS" from a dictionary named buildSettings. The value of keypath should always be an array. This array contains keys/elements you want to removed from dictionary/array.
Modify
Modify the value of keypath, so easy.
Configuration Generator
Programmer is lazy. I can’t stand wasting my time on writing json files, so I create the powerful tool called JSON Configuration Generator:
JSON Configuration Generator Window
There are two ways to open the Generator window:
Menu -> Window -> JSON Configuration Generator
Key Equivament: Shift+Command+0
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.
Backups
Each 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.
Revert button uses these backups to revert project file to the latest version.
24小时热文
刚刚被浏览过的文章
514398次阅读
337372次阅读
263189次阅读
238211次阅读
214566次阅读
随机显示站内文章
4845次阅读
51595次阅读
34682次阅读
2488次阅读
2261次阅读
软件下载频道
- Apple
- FTP 工具
- GIF 生成
- PDF 文档操作
- SetApp
- Today Widget
- Touch Bar
- 下载工具
- 书签收集
- 书籍管理
- 二维码工具
- 云同步
- 交互设计
- 任务管理
- 位置定位
- 信息管理
- 创意工具
- 剪切板
- 办公套件
- 动画设计
- 包裹追踪
- 医疗工具
- 单位转换
- 双11特惠
- 反病毒
- 团队协作
- 图标生成
- 图标管理
- 图片处理
- 图片拼接
- 图片标注
- 图片浏览
- 壁纸管理
- 多媒体工具
- 天文研究
- 天气预报
- 字体管理
- 字幕工具
- 学习卡
- 密匙管理
- 密码管理
- 屏幕保护
- 屏幕取色
- 屏幕录制
- 屏幕截图
- 屏幕解锁
- 工程管理
- 平面设计
- 开发软件
- 影片管理
- 影音播放
- 快速录音
- 思维导图
- 打印工具
- 批量重命名
- 效率工具
- 数据传输
- 数据备份
- 数据恢复
- 文件上传
- 文件压缩
- 文件搜索
- 文件比对
- 文件清理
- 文件管理
- 文本格式转换
- 文档演示
- 文档管理
- 文档编辑
- 文档识别
- 文档阅读
- 新闻订阅
- 日历工具
- 时间追踪
- 格式转换
- 歌词获取
- 测绘工具
- 浏览器
- 浏览器插件
- 游戏
- 热键工具
- 版本控制
- 理财工具
- 电量管理
- 界面定制
- 硬件增强
- 磁盘工具
- 磁盘数据拷贝
- 社交客户端
- 程序安装
- 窗口管理
- 笔记管理
- 系统优化
- 系统增强
- 系统监控
- 纯写作
- 网络工具
- 翻译软件
- 聊天工具
- 联系人管理
- 虚拟机
- 虚拟现实
- 表情包
- 视频会议
- 视频同步播放
- 视频监控
- 视频编辑
- 计算器
- 语音识别
- 软件卸载
- 输入法
- 运动信息
- 远程控制
- 邮件客户端
- 闹铃提醒
- 防休眠
- 防干扰
- 音乐制作
- 音频制作