LoginSignup
0
0

More than 3 years have passed since last update.

Fastlaneのframeitでunexpected token at {....っていうエラーが出る件

Posted at

Fastlaneを最新版にしてframeitでApp Store用のスクショを作ろうとしたら変なエラーがでた。

スクリーンショット 2020-02-11 18.17.40.png
なんか文字列がjsonにパースできないらしい。吐き出されてた文字列をコピーしてJson validatorにかけると以下の場所がおかしいことがわかる。
スクリーンショット 2020-02-11 18.21.49.png
Fastlaneのほうではちょうど1週間前にissueが作られていた。

frameit is broken for me in release 2.141.0 #15972

回避方法(2/11時点)

fastlaneを2.138.0に戻す。
(順番に各バージョンに戻して動作確認したところ2.139.0からこのエラーが起きる。)

Gemfileを以下の通り修正

source "https://rubygems.org"

gem "fastlane", "2.138.0" # version指定を追加

で、以下のコマンドで指定したバージョンにfastlaneを巻き戻す。

sudo bundle install

したらエラーが出なくなった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0