Auto_Packing是一款基于Python开发的脚本工具,旨在实现iOS应用的自动化构建和导出IPA包流程,极大提升了开发者的工作效率。
配置auto_packing.py如下:
1. 填项目路径(末尾不带/):
```python
project_path = ~/Desktop/DENFramework
```
2. 填项目名称:
```python
project_name = DENFramework
```
3. 选择 xcworkspace 或 xcodeproj 文件类型:
```python
project_suffix = xcworkspace
```
4. 配置构建配置(Release 或 Debug):
```python
config = Release
```
5. 如果没有创建其他 target,且项目名与目标名称相同,则设置如下:
```python
target_name = DENFramework
```
6. 设置导出路径:
```python
export_path = ~/Desktop
```
7. 指定exportPlist.plist的路径:
```python
option_plist_path = ~/Download/auto_packing/exportPlist.plist
```
8. 上传服务器地址(不填则只导出,填写则进行上传):