fastlane地址:
https://github.com/fastlane/fastlane
常用命令:
1.創(chuàng)建證書
fastlane cert -u {apple id}
2.查找本地證書
fastlane security find-identify -v -p?codesigning
3.創(chuàng)建app
fastlane produce -u {app id} -a {bundle id} -q {app name} [-l (不再itunes connect創(chuàng)建app)]
4.添加設(shè)備
fastlane run register_device
// input name
// input device UDID
5.添加設(shè)備后更新profile
fastlane sigh --adhoc(--development) --force -a {bundle id} -u {apple id}
6.創(chuàng)建推送證書
fastlane pem --development (dev)
fastlane pem -a {bundle id} -u {apple id}
7.重簽名
fastlane sigh resign xxxx.ipa --signing_identity "{sign id}" -p "{xxxx.mobileprovision}"