Evg*_*rov 9 bash automation curl file-upload
我在Xcode中有脚本,它在Archive操作结束时自动运行.它正在签署并向TestFlight服务提交构建.问题是上传需要花费很多时间,我看不到任何进展.
作为通知程序,它使用苹果脚本通知程序:
notify () {
/usr/bin/osascript -e "display notification \"$1\" with title \"Xcode\""
}
notify "Uploading to TestFlight"
Run Code Online (Sandbox Code Playgroud)
cURL上传在这里完成:
/usr/bin/curl "http://testflightapp.com/api/builds.json" \
-F file=@"/tmp/${PRODUCT_NAME}.ipa" \
-F dsym=@"/tmp/${PRODUCT_NAME}.dSYM.zip" \
-F api_token="${API_TOKEN}" \
-F team_token="${TEAM_TOKEN}" \
-F notes="Build uploaded automatically from Xcode."
Run Code Online (Sandbox Code Playgroud)
如果我能看到有关上传过程的10%,20等等的类似信息,我会很高兴.
| 归档时间: |
|
| 查看次数: |
3940 次 |
| 最近记录: |