自动化构建Jenkins + fastlane

参考
查看签名文件,teamid
shell
  • CODE_SIGN_IDENTITY="iPhone Developer: xixiu du (4HXCLGH9HU)"
  • PROVISIONING_PROFILE=973774f8-3916-4b0d-b0e5-0af33a55e92d
  • DEVELOPMENT_TEAM=4HXCLGH9HU

    报错
  • 找不到pod对应的库文件
  • ld: warning: directory not found for option '-L/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/SmallFlagLoan-dmbevippdhikzigjbdqtyyyfirji/Build/Intermediates.noindex/ArchiveIntermediates/SmallFlagLoan/BuildProductsPath/Debug-iphoneos/YYCache'
  • ld: library not found for -lAFNetworking

    仓库地址
  • https://gitee.com/BRoc/small_flag_loan.git

    配的那个token不是用来登录git仓库的

    源码管理的凭据和 api的凭据不是一样的,apiv5的凭据是插件调用码云接口使用的,而源码管理的凭据是jenkins git插件要求的,这个凭据格式是用户名密码,如果用的是http的协议需要在凭据管理中再配置一个码云用户名密码的凭据,这样才能选上,如果是ssh 的话需要jenkins的机器的ssh key 加入到码云账号中才行

    一步一步来
  • https://www.jianshu.com/p/126c9e6b63ef
  • https://juejin.im/entry/5b5e7bdb6fb9a04fcc44af91

    能行么
  • https://www.jianshu.com/p/470752f99134

    命令
  • https://www.jianshu.com/p/6c52260b1ff3
    -sudo chmod -R 777 你的文件夹名
  • chmod -R a+rwx workspace

猜你喜欢

转载自www.cnblogs.com/guligei/p/11991416.html