【问题标题】:Jenkins&Xcode : Build crashes in ipad frequentlyJenkins Xcode:经常在 ipad 中构建崩溃
【发布时间】:2016-06-12 17:07:59
【问题描述】:

我目前正在生成一个带有分发配置文件的 ios 应用程序。当我从 Xcode 生成 ipa 文件时,它在安装在 ipad 上时可以正常工作而不会出现任何崩溃,但是当从 jenkins 作为 CI 进程的一部分生成时,它会在大多数字段中崩溃。到目前为止,它工作正常,但问题是在向项目添加开发框架时开始的。在 jenkins 中,我使用下面的命令行脚本进行 xcodebuild。 . xcodebuild -workspace ~/.jenkins/jobs/workspace/repo/Source/App/App.xcodeproj/project.xcworkspace -scheme App -configuration "release" -sdk iphoneos VALID_ARCHS="armv64 armv7 armv7s i386" archive PROVISIONING_PROFILE="xxxxxxx- xxxx-xxxx-xxxx-xxxxxxxxxx" CODE_SIGN_IDENTITY="iPhone Distribution: company Limited" -archivePath ~/Desktop/../App.xcarchive

无法找出崩溃的确切问题。

【问题讨论】:

    标签: xcode jenkins ipa


    【解决方案1】:

    我建议您检查 jenkins 节点的环境变量。如果它们覆盖了您的构建变量。

    在此之前,您可以提供更多详细信息。

    【讨论】:

    • 否..没有为这个项目设置 env.variables..一切都是在执行 shell 本身中完成的,而不使用 xcode 插件。
    • 不确定这是否与詹金斯有关..可能是您开发的框架的问题
    猜你喜欢
    • 2015-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-17
    • 2014-07-01
    • 1970-01-01
    相关资源
    最近更新 更多