[英]How to use Fastlane and Crashlytics to build while using Xcode automatic code signing?
我们可以在Xcode上归档构建文件,并通过Fabric桌面应用程序通过Crashlytics Beta进行分发; 但是,fastlane分发失败。 内部版本已上传,但测试人员无法安装。 以下是Fastfile的一部分。
build_app(scheme: "The-App-Fabric",
workspace: "The-App.xcworkspace",
configuration: "QA",
output_directory: "./build",
clean: true,
include_bitcode: false)
crashlytics(api_token: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
build_secret: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
ipa_path:"./build/The-App-Fabric.ipa",
groups: ["ios-qa"])
通过ProvisionQL对.ipa的检查显示,build_app自动选择了错误的配置文件。 指定export_team_id
和export_method
解决了此问题。 在此处找到您的团队ID。
build_app(scheme: "The-App-Fabric",
workspace: "The-App.xcworkspace",
configuration: "QA",
output_directory: "./build",
clean: true,
export_team_id: "XXXXXXXXXX",
export_method: "development",
include_bitcode: false)
crashlytics(api_token: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
build_secret: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
ipa_path:"./build/The-App-Fabric.ipa",
groups: ["ios-qa"])
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.