我正在使用Travis CI来构建,签名和公证MacOS应用程序。
我的问题是,当我必须使用以下方法上载公证申请时:
xcrun altool --notarize-app --primary-bundle-id <bundle> --username <apple_id> --password <passwd> --file <file>
上传给我这个错误:
2019-06-19 21:41:59.620 altool[35802:70182] *** Error: To use this application, you must first sign in to iTunes Connect and sign the relevant contracts. (1048)
如何在Travis上执行此操作?由于它引导VM来完成工作,因此我无权访问GUI来打开iTunes Connect登录等等。
那有可能吗?
预先感谢