Provisioning Profile 自動化更新
教學連結
Quick Look plugin for apps and provisioning profile files
Sigh
fastlane sigh \
--force \
--cert_id $CERT_ID \ # You can get cert_id by Spaceshipe
--username $APPLE_ID \
--provision_name Sample_${PROVISION_VALID_YEAR}_InHouse \
--app_identifier tw.com.cathaylife.SampleAppForCI \
--team_id $DEV_PORTAL_TEAM_ID \
--filename Sample_${PROVISION_VALID_YEAR}_InHouse.mobileprovision注意:在套用新的Cert產生安裝描述檔之前,舊的Cert先不要從Keychain移除,否則fastlane會判別為不同的檔案,進而另外建立一個後面有流水編號且同名的安裝描述檔。等所有安裝描述檔建立完後再移除舊的Cert即可,記得要移除,否則Xcode吃不到新的Cert。
cert_id
envirornment variable
Set environment variables on ~/.bash_profile file and it will always valid when terminal launches.
set
show variables
show some variable
ProvisionQL

Last updated
Was this helpful?