简体   繁体   English

Jenkins Archiving失败说:“你必须为营销或技术版本提供价值。 找不到。“

[英]Jenkins Archiving fails says :“You have to provide a value for either the marketing or technical version. Found neither.”

I am trying to build Xcode project in Jenkins, I was able to successfully run my first Jenkins project. 我正在尝试在Jenkins中构建Xcode项目,我能够成功运行我的第一个Jenkins项目。 After compilation it gave me "app" bundle. 编译后它给了我“app”包。

Now i'm trying to archive the bundle, but I'm getting the following error 现在我正在尝试归档捆绑包,但是我收到以下错误

"You have to provide a value for either the marketing or technical version. Found neither." “你必须为营销或技术版本提供价值。既没有找到。”

I tried playing with configuration but nothing seems to be working. 我尝试使用配置,但似乎没有任何工作。 配置(已尝试使用空字段)

Xcode has a built-in tool called agvtool . Xcode有一个名为agvtool的内置工具。 Agvtool only works if you have "Apple generic" version system in settings. 只有在设置中有“Apple通用”版本系统时,Agvtool才有效。

Change the version system to "Apple generic" in target settings. 在目标设置中将版本系统更改为“Apple generic”。 目标设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM