开启本地服务器: sudo apachectl start
重启本地服务器: sudo apachectl restart
关闭本地服务器: sudo apachectl stop
服务器路径**/Library/WebServer/Documents**
$username=apple@xxxxkj.com
$bundleid=com.zsm.test
#创建bundleid 下一步输入App名称
fastlane produce -u $username -a $bundleid -i true
#生成adhoc齿轮文件
fastlane sigh --adhoc -a $bundleid -u $username -q "myProfile.mobileprovision"
注意:1.获取udid成功后注册设备 2.齿轮文件的创建根据bundleid来创建
到打包IPA的路径下(xxx.ipa存放路径) 放入生成好的齿轮文件(myProfile.mobileprovision)
#重签
fastlane sigh resign xxx.ipa --signing_identity "iPhone Distribution: xxx technology co. , ltd (HR8XY8ZE4C)" -p "commonProfile.mobileprovision"
看到成功之后的IPA就是重签后的
把这重签后的IPA放到服务器下载路径(通过manifest.plist)//https://gitee.com/zhushouming/MXFootBall/blob/master/manifest.plist
参考文章
https://www.jianshu.com/p/9bd12b55e3b1
https://www.jianshu.com/p/d47ca5c15dd9
https://www.jianshu.com/p/f992da4ab683
网友评论