集成fastlane遇到的一些问题

PS:因为这是事后总结,具体的错误当时没有记录,有可能错误与解决方法不匹配。

bad response Forbidden 403

bad response Forbidden 403.png

GitHub-fastlane的Issues上找到了答案:
jwt未安装,执行 gem install jwt

Exit status: 错误

Exit status.png

关闭自动管理代码签名,手动设置,如下图

NonAutoManageSign.png

2017、8、4更新

使用 “自动管理代码签名” :Exit status : 70
找到官方文档,如下配置

4A06EAA3-6B3A-411D-B9C4-3257D081CEDC.png
  • 1、$(XXXXXX),XXXXXX 为配置文件的名字
  • 2、在 Fastfile 中如下配置
//还需深刻领悟,用的不好
//desc "Deploy a new version to the App Store"
  //match
  //disable_automatic_code_signing(path: "my_project.xcodeproj")
  //gym
  //enable_automatic_code_signing(path: "my_project.xcodeproj")
  //pilot
//end

increment_version_number 未有效设置版本

$(PROJECT_DIR)/XXXXXX/Info.plist找不到
方案:Info.plist File 修改为 XXXXXX/Info.plist

命令行设置version、build

 lane :release do |op|
    increment_version_number(version_number: op[:version])
    increment_build_number(build_number: op[:build])
  end

输入fastlane release version:4.3.0,版本号为4.3.0,build在当前基础上自增加
输入fastlane release version:4.3.0 build:71,版本号为4.3.0,build为71
输入`fastlane release,版本号、build在当前基础上自增加

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容