Jenkins 自动打包Bug

安装Java环境文档:https://blog.csdn.net/zhanglizhi111/article/details/78872531

1 FATAL: The path to store mobile provisioning profile files on the master is not configured. Go the plugin main configuration page and give the path.

解决办法: 描述文件和证书路径不对或者就没有设置

2
PROVISIONING_PROFILE=

  • xcodebuild archive -workspace /Users/Shared/Jenkins/Home/workspace/YGPH/YGPH.xcworkspace -scheme YGPH -configuration Release -archivePath /Users/Shared/Jenkins/Home/workspace/YGPH/build/YGPH.xcarchive -quiet
    xcodebuild: error: ‘/Users/Shared/Jenkins/Home/workspace/YGPH/YGPH.xcworkspace’ does not exist.

shell : 路径不对

3
No profile for team ‘T75SYUGES8’ matching ‘PHGULi_Development’ found: Xcode couldn’t find any provisioning profiles matching ‘T75SYUGES8/PHGULi_Development’. Install the profile (by dragging and dropping it onto Xcode’s dock item) or select a different one in the General tab of the target editor
Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 11.2’

解决方法: 描述文件路径 /Users/Shared/Jenkins/Library/MobileDevice/Provisioning Profiles
jenkins 整个文件要给当前账号权限

    原文作者:赶往15号线
    原文地址: https://www.jianshu.com/p/271225936b1b
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞