ios - FaSTLane 构建并发布到 App Center 后应用程序无法启动

标签 ios jenkins continuous-integration fastlane

我们使用 Jenkins 和 FaSTLane 自动构建应用并将其发布到 App Center。

发布步骤成功,可以通过应用中心下载,但应用无法启动(打开并立即关闭)。

我们手动提交的构建在发布中列出了配置文件:

enter image description here

但 FaSTLane 构建在这里没有指定值,即使日志显示“所有必需的 key 、证书和配置文件都已安装”。

enter image description here

更新:我做了更多的挖掘并检查了正确的 .xcarchive 和导致问题的 .xcarchive 之间的区别。有问题的在其 Info.plist ApplicationProperties SigningIdentity 中没有签名身份。

最佳答案

这好像少了一个SigningIdentityInfo.plist .xcarchive 的文件是问题的根源。

我通过转到 Keychain Access 解决了这个问题和设置 When using this cerficate:Use System Defaults在我的分发证书上。

有了这个,SigningIdentity创建存档时设置正确,生成.ipa在我的设备上成功启动。

所以事实证明这与 FaSTLane 无关,只是我的构建服务器上的设置。

我自己没有弄清楚,这篇文章救了我:iOS 12 enterprise apps crash upon launch

关于ios - FaSTLane 构建并发布到 App Center 后应用程序无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57332101/

相关文章:

jenkins - 脚本 block 内的 NotSerializedException

sql-server - 部署 MSSQL 更改脚本

ios - 在越狱的 iOS 上使用 ar 或 libtool 创建静态存档失败

ios - SwiftUI 中月份的开始和结束日期

ios - 在 iOS 中检测井号标签#,提及标签@,就像在 Twitter 应用程序中一样

azure - Windows 从站处于挂起状态 - 使用 Azure VM 代理插件

objective-c - UITableViewCell : How to tell which indexPath was selected? 中的两个按钮

php - 在 Jenkins 中找不到私有(private) git 子模块

continuous-integration - 如何无缝自动集成前后端

scripting - Hudson 和建筑脚本