最近,我想编写一个简单的脚本来自动构建钛项目。这是我的剧本:
1 #!/bin/bash
2
3 platform='ios'
4 developer_name='XXXXX XXXX'
5 device_family='iphone'
6 distribution_name='/Users/XXXXXXXX/Downloads/YY_mobile_app.mobileprovision'
7 ios_version='6.1'
8 pp_uuid='XXXX155D-XXXX-XXXX-CCBR-XXCXX5226XXX'
9 target='dist-appstore'
10
11 titanium build --platform ${platform} -F ${device_family} -I ${ios_version} -T ${target} -R ${distribution_name} -P ${pp_uuid} -V ${developer_name}
但我一直收到这个错误
[ERROR] No distribution or adhoc provisioning profiles found
即使我提供的配置文件(distribution_name,pp_uuid)绝对有效。
有什么建议吗?