我正在使用fastlane来处理配置文件。
这是我所做的:
match nuke development
match nuke distribution
然后在一个通道中,对于我需要提供的每个捆绑标识符,我都有这个:
match(type: "development", app_identifier: "com.myCompany.myApp", force_for_new_devices: true)
当我想要下载配置文件时,我有一个执行此操作的通道:
match(type: "development", app_identifier: "com.myCompany.myApp", readonly: true)
所有这一切都让我可以在已经存在于门户中的设备上进行良好的工作和构建。
如果我想添加一个设备,我如何正确更新供应?
我尝试过这个:
match development --force_for_new_devices true -a com.myCompany.myApp
它不起作用。
我收到了这个错误:
Provisioning profile '82afbd5b-9f19-4c78-b3ac-56a3565ce3f2' is not available on the Developer Portal
每次我需要添加设备时,唯一有效的方法就是清空所有内容并重新开始。
有没有不必清空就能添加设备的正确方法呢?
我正在使用Xcode 8,像fastlane建议的那样禁用了自动配置。
refresh_profiles
是一个运行match
的通道,就像这个线程中所说的那样?https://github.com/fastlane/fastlane/issues/1999 - CupawnTae